mirror of
https://github.com/discourse/discourse.git
synced 2025-05-28 01:56:58 +08:00
DEV: Add deprecation warning of non-header based API auth
This change adds a message to the admin panel if it detects an api requests that doesn't use the new header based authentication method. The message is to warn people to switch to header based auth and links to the api documention topic on meta for more info.
This commit is contained in:
@ -84,7 +84,8 @@ class AdminDashboardData
|
||||
@problem_messages = [
|
||||
'dashboard.bad_favicon_url',
|
||||
'dashboard.poll_pop3_timeout',
|
||||
'dashboard.poll_pop3_auth_error'
|
||||
'dashboard.poll_pop3_auth_error',
|
||||
'dashboard.deprecated_api_usage'
|
||||
]
|
||||
|
||||
add_problem_check :rails_env_check, :host_names_check, :force_https_check,
|
||||
|
Reference in New Issue
Block a user