Project

General

Profile

Patch #19520 » auth_exception.patch

Account controller patch - Karel Pičman, 2015-03-30 09:25

View differences:

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
    (1-1/1)