1
1
mirror of https://github.com/go-gitea/gitea synced 2024-11-14 06:04:25 +00:00
gitea/templates/user
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
..
auth Refactor login page (#31530) 2024-07-05 20:10:09 +03:00
dashboard Refactor repo unit "disabled" check (#31389) 2024-06-18 00:51:13 +00:00
notification Fix overflow on notifications (#31178) 2024-06-04 06:10:04 +00:00
overview Fix the spacing issue in the Project view (#30415) 2024-04-12 02:08:58 +00:00
settings Allow disabling authentication related user features (#31535) 2024-07-09 17:36:31 +00:00
code.tmpl Unify search boxes (#29530) 2024-03-14 23:24:59 +00:00
heatmap.tmpl Fix more "locale" usages (#27259) 2023-09-25 20:42:40 +08:00
profile.tmpl Fix the spacing issue in the Project view (#30415) 2024-04-12 02:08:58 +00:00