FEATURE: we need admin login always

This commit is contained in:
Sam Saffron 2015-06-05 18:43:59 +10:00 committed by Robin Ward
parent 10c44763aa
commit 2c883833eb

View File

@ -350,7 +350,7 @@ class UsersController < ApplicationController
end
def admin_login
unless SiteSetting.enable_sso && !current_user
if current_user
return redirect_to path("/")
end