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