ntue site sso fix
This commit is contained in:
parent
3931f089c0
commit
77c0fdffd2
|
@ -27,7 +27,7 @@ class SessionsController < Devise::SessionsController
|
|||
redirect_to after_sign_in_path_for(resource)
|
||||
else
|
||||
flash[:error] = "很抱歉,您無此權限或帳號登入本站,請洽本站管理員<br />Sorry, you don't have the account or authority to login. Please contact the website administrator."
|
||||
edirect_to :root
|
||||
redirect_to :root
|
||||
end
|
||||
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue