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