Revert "acount"

This reverts commit 03dbcb1168.
This commit is contained in:
yanxd 2014-05-15 17:41:45 +08:00
parent b736dc91ed
commit 53a9d29292
1 changed files with 3 additions and 3 deletions

View File

@ -31,9 +31,9 @@ class AccountController < ApplicationController
else else
authenticate_user authenticate_user
end end
rescue AuthSourceException => e #rescue AuthSourceException => e
logger.error "An error occured when authenticating #{params[:username]}: #{e.message}" # logger.error "An error occured when authenticating #{params[:username]}: #{e.message}"
render_error :message => e.message # render_error :message => e.message
end end
# Log out current user and redirect to welcome page # Log out current user and redirect to welcome page