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 Allow disabling authentication related user features (#31535) 2024-07-09 17:36:31 +00:00
account.tmpl Allow disabling authentication related user features (#31535) 2024-07-09 17:36:31 +00:00
actions.tmpl Support configuration variables on Gitea Actions (#24724) 2023-06-20 22:54:15 +00:00
appearance.tmpl Initial support for colorblindness-friendly themes (#30625) 2024-04-24 00:18:41 +08:00
applications_oauth2_edit_form.tmpl Fix all rounded borders, change affected tab menus to pills (#30707) 2024-04-29 20:53:15 +00:00
applications_oauth2_edit.tmpl Change to vertical navbar layout for secondary navbar for repo/user/admin settings (#24246) 2023-04-23 18:21:21 +08:00
applications_oauth2_list.tmpl Fix all rounded borders, change affected tab menus to pills (#30707) 2024-04-29 20:53:15 +00:00
applications_oauth2.tmpl Always use ctx.Locale.Tr inside templates (#27231) 2023-09-25 08:56:50 +00:00
applications.tmpl Fix some URLs whose sub-path is missing (#31289) 2024-06-07 15:15:17 +00:00
blocked_users.tmpl Add user blocking (#29028) 2024-03-04 08:16:03 +00:00
grants_oauth2.tmpl Migrate margin and padding helpers to tailwind (#30043) 2024-03-24 17:42:49 +01:00
hook_new.tmpl Always use ctx.Locale.Tr inside templates (#27231) 2023-09-25 08:56:50 +00:00
hooks.tmpl Change to vertical navbar layout for secondary navbar for repo/user/admin settings (#24246) 2023-04-23 18:21:21 +08:00
keys_gpg.tmpl Migrate gt-hidden to tw-hidden (#30046) 2024-03-24 18:23:38 +00:00
keys_principal.tmpl Migrate gt-hidden to tw-hidden (#30046) 2024-03-24 18:23:38 +00:00
keys_ssh.tmpl Fix issue comment form and quick-submit (#30623) 2024-04-22 01:00:04 +08:00
keys.tmpl Allow options to disable user ssh keys configuration from the interface on app.ini (#29447) 2024-03-04 07:50:21 +00:00
layout_footer.tmpl Change to vertical navbar layout for secondary navbar for repo/user/admin settings (#24246) 2023-04-23 18:21:21 +08:00
layout_head.tmpl Reduce margins on user settings page, introduce flex-container (#26046) 2023-07-31 07:16:03 +00:00
navbar.tmpl Allow disabling authentication related user features (#31535) 2024-07-09 17:36:31 +00:00
organization.tmpl Refactor Safe modifier (#29392) 2024-02-25 10:45:56 +00:00
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 Change to vertical navbar layout for secondary navbar for repo/user/admin settings (#24246) 2023-04-23 18:21:21 +08:00
packages.tmpl Remove unnecessary "Safe" modifier from templates (#29318) 2024-02-22 17:02:33 +00:00
profile.tmpl Migrate gt-hidden to tw-hidden (#30046) 2024-03-24 18:23:38 +00:00
repos.tmpl Optimize repo-list layout to enhance visual experience (#31272) 2024-06-07 01:22:03 +02:00
runner_edit.tmpl Add user level action runners (#24995) 2023-05-31 09:39:54 +08:00