From 1b9937b27dd4bfd844bc77aa03ab686a6dbf7bb7 Mon Sep 17 00:00:00 2001 From: David Taylor Date: Mon, 20 Apr 2020 14:20:02 +0100 Subject: [PATCH] DEV: Remove deprecated use of full_screen_login_setting --- config/locales/server.en.yml | 1 - config/settings.yml | 3 --- plugin.rb | 3 +-- 3 files changed, 1 insertion(+), 6 deletions(-) diff --git a/config/locales/server.en.yml b/config/locales/server.en.yml index 3033c4d..fac6940 100644 --- a/config/locales/server.en.yml +++ b/config/locales/server.en.yml @@ -27,7 +27,6 @@ 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" oauth2_allow_association_change: Allow users to disconnect and reconnect their Discourse accounts from the OAuth2 provider errors: diff --git a/config/settings.yml b/config/settings.yml index 70b4c8f..af5c701 100644 --- a/config/settings.yml +++ b/config/settings.yml @@ -43,8 +43,5 @@ login: oauth2_button_title: default: 'with OAuth2' client: true - oauth2_full_screen_login: - default: false - client: true oauth2_allow_association_change: default: false diff --git a/plugin.rb b/plugin.rb index 2f78aab..7af1f18 100644 --- a/plugin.rb +++ b/plugin.rb @@ -186,8 +186,7 @@ end auth_provider title_setting: "oauth2_button_title", authenticator: OAuth2BasicAuthenticator.new, - message: "OAuth2", - full_screen_login_setting: "oauth2_full_screen_login" + message: "OAuth2" register_css <