mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 18:30:26 -06:00
FIX: don't require auth providers to set full_screen_login_setting
This commit is contained in:
parent
812add18bd
commit
9b04921616
@ -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