FIX: don't require auth providers to set full_screen_login_setting

This commit is contained in:
Leo McArdle 2018-08-06 10:24:39 +01:00
parent 812add18bd
commit 9b04921616

View File

@ -15,6 +15,7 @@ class AuthProviderSerializer < ApplicationSerializer
def full_screen_login
return SiteSetting.send(object.full_screen_login_setting) if object.full_screen_login_setting
return object.full_screen_login if object.full_screen_login
false
end