Add site setting to allow full screen login
This commit is contained in:
parent
b588b32bc9
commit
0381f91bbe
|
@ -19,4 +19,4 @@ en:
|
|||
oauth2_authorize_options: "When authorizing request these options"
|
||||
oauth2_scope: "When authorizing request this scope"
|
||||
oauth2_button_title: "The text for the OAuth2 button"
|
||||
|
||||
oauth2_full_screen_login: "Use main browser window instead of popup for login"
|
||||
|
|
|
@ -34,3 +34,6 @@ login:
|
|||
oauth2_button_title:
|
||||
default: 'with OAuth2'
|
||||
client: true
|
||||
oauth2_full_screen_login:
|
||||
default: false
|
||||
client: true
|
||||
|
|
|
@ -149,7 +149,9 @@ end
|
|||
auth_provider title_setting: "oauth2_button_title",
|
||||
enabled_setting: "oauth2_enabled",
|
||||
authenticator: OAuth2BasicAuthenticator.new('oauth2_basic'),
|
||||
message: "OAuth2"
|
||||
message: "OAuth2",
|
||||
full_screen_login_setting: "oauth2_full_screen_login"
|
||||
|
||||
|
||||
register_css <<CSS
|
||||
|
||||
|
|
Loading…
Reference in New Issue