Patch #19520 » auth_exception.patch
| app/controllers/account_controller.rb (working copy) | ||
|---|---|---|
|
else
|
||
|
authenticate_user
|
||
|
end
|
||
|
rescue AuthSourceException => e
|
||
|
rescue Exception => e
|
||
|
logger.error "An error occured when authenticating #{params[:username]}: #{e.message}"
|
||
|
render_error :message => e.message
|
||
|
end
|
||