gitea/templates
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
..
admin Add cache test for admins (#31265) 2024-06-17 21:22:39 +02:00
api/packages/pypi
base Refactor repo unit "disabled" check (#31389) 2024-06-18 00:51:13 +00:00
custom
devtest Make toast support preventDuplicates (#31501) 2024-06-27 13:58:38 +00:00
explore
mail
org Right align the "Settings" menu item in overflow-menu (#30764) 2024-04-30 04:26:13 +00:00
package Extract and display readme and comments for Composer packages (#30927) 2024-06-14 04:45:52 +00:00
projects Replace gt-word-break with tw-break-anywhere (#31183) 2024-06-04 13:57:11 +00:00
repo Don't show hidden labels when filling out an issue template (#31576) 2024-07-08 04:31:12 +00:00
shared Improve detecting empty files (#31332) 2024-06-13 01:06:46 +00:00
status Simplify 404/500 page (#31409) 2024-06-23 17:45:21 +00:00
swagger Allow force push to protected branches (#28086) 2024-07-05 18:21:56 +00:00
user Allow disabling authentication related user features (#31535) 2024-07-09 17:36:31 +00:00
webhook
home.tmpl
install.tmpl Fix some UI problems (install/checkbox) (#30854) 2024-05-06 06:32:05 +00:00
post-install.tmpl