exceptionHandle
z9hang 11 years ago
parent 06706b577d
commit 03dbcb1168

@ -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

Loading…
Cancel
Save