FEATURE: we need admin login always
This commit is contained in:
parent
f1637fc11e
commit
4409a3072d
|
@ -345,7 +345,7 @@ class UsersController < ApplicationController
|
|||
end
|
||||
|
||||
def admin_login
|
||||
unless SiteSetting.enable_sso && !current_user
|
||||
if current_user
|
||||
return redirect_to path("/")
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue