From a04b79621dd9421b4482f94891177a7ae04f5c6b Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Sat, 27 Jul 2013 00:49:22 +0200 Subject: [PATCH] Fixed set of user for basic auth. --- app/controllers/application_controller.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index a56b8010d..609738f6e 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -110,12 +110,12 @@ class ApplicationController < ActionController::Base message = 'authentication failed' end - # remember user - session[:user_id] = userdata.id - # return auth ok if message == '' + # remember user + session[:user_id] = userdata.id + # set basic auth user to current user current_user_set(userdata) return {