mirror of
https://github.com/discourse/discourse.git
synced 2024-12-02 05:29:17 -06:00
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
|
||||
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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user