Merge pull request #6238 from LeoMcA/fix-fsl
FIX: don't require auth providers to set full_screen_login_setting
This commit is contained in:
commit
3ffe084384
|
@ -15,6 +15,7 @@ class AuthProviderSerializer < ApplicationSerializer
|
||||||
|
|
||||||
def full_screen_login
|
def full_screen_login
|
||||||
return SiteSetting.send(object.full_screen_login_setting) if object.full_screen_login_setting
|
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
|
false
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue