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