mirror of
https://github.com/discourse/discourse.git
synced 2025-01-18 10:42:45 +08: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