mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
DEV: Deprecate message parameter in auth provider plugin API (#12523)
This has been unused since d2bceff133
This commit is contained in:
@@ -8,7 +8,7 @@ class Auth::AuthProvider
|
||||
end
|
||||
|
||||
def self.auth_attributes
|
||||
[:pretty_name, :title, :message, :frame_width, :frame_height, :authenticator,
|
||||
[:authenticator, :pretty_name, :title, :message, :frame_width, :frame_height,
|
||||
:pretty_name_setting, :title_setting, :enabled_setting, :full_screen_login, :full_screen_login_setting,
|
||||
:custom_url, :background_color, :icon]
|
||||
end
|
||||
@@ -32,6 +32,10 @@ class Auth::AuthProvider
|
||||
Discourse.deprecate("(#{authenticator.name}) full_screen_login is now forced. The full_screen_login_setting parameter can be removed from the auth_provider.")
|
||||
end
|
||||
|
||||
def message=(val)
|
||||
Discourse.deprecate("(#{authenticator.name}) message is no longer used because all logins are full screen. It should be removed from the auth_provider")
|
||||
end
|
||||
|
||||
def name
|
||||
authenticator.name
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user