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:
David Taylor 2018-08-06 10:29:22 +01:00 committed by GitHub
commit 3ffe084384
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

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