mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-18 04:13:43 +08:00
This splits the Login and Authentication admin page into multiple
sections: Settings, social logins, DiscourseConnect, OAuth2.0, OIDC.
Internal ticket `t/161648`
This PR also adds a new extension point for plugins that want to extend
this area of the app.
```
register_site_setting_area("oauth2")
register_admin_config_login_route("oauth2")
```
Adding this to a plugin allows it to extend both the setting areas
(existing functionality) and add a tab to this admin settings screen via
`register_admin_config_login_route`.
3 lines
207 B
JavaScript
3 lines
207 B
JavaScript
import AdminAreaSettingsBaseController from "admin/controllers/admin-area-settings-base";
|
|
|
|
export default class AdminConfigLoginAndAuthenticationSettingsController extends AdminAreaSettingsBaseController {}
|