0
0
mirror of https://github.com/go-gitea/gitea.git synced 2025-01-21 04:06:15 +01:00
gitea/templates/user/settings
Rowan Bohde 1ee59f0fa3
Allow disabling authentication related user features (#31535)
We have some instances that only allow using an external authentication
source for authentication. In this case, users changing their email,
password, or linked OpenID connections will not have any effect, and
we'd like to prevent showing that to them to prevent confusion.

Included in this are several changes to support this:
* A new setting to disable user managed authentication credentials
(email, password & OpenID connections)
* A new setting to disable user managed MFA (2FA codes & WebAuthn)
* Fix an issue where some templates had separate logic for determining
if a feature was disabled since it didn't check the globally disabled
features
* Hide more user setting pages in the navbar when their settings aren't
enabled

---------

Co-authored-by: Kyle D <kdumontnu@gmail.com>
2024-07-09 17:36:31 +00:00
..
security
account.tmpl
actions.tmpl
appearance.tmpl
applications_oauth2_edit_form.tmpl
applications_oauth2_edit.tmpl
applications_oauth2_list.tmpl
applications_oauth2.tmpl
applications.tmpl
blocked_users.tmpl
grants_oauth2.tmpl
hook_new.tmpl
hooks.tmpl
keys_gpg.tmpl Migrate gt-hidden to tw-hidden (#30046) 2024-03-24 18:23:38 +00:00
keys_principal.tmpl
keys_ssh.tmpl
keys.tmpl
layout_footer.tmpl
layout_head.tmpl
navbar.tmpl
organization.tmpl
packages_cleanup_rules_edit.tmpl Change to vertical navbar layout for secondary navbar for repo/user/admin settings (#24246) 2023-04-23 18:21:21 +08:00
packages_cleanup_rules_preview.tmpl
packages.tmpl
profile.tmpl
repos.tmpl
runner_edit.tmpl