0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-16 00:41:44 +01:00
gitea/routers/web/repo/setting
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
..
avatar.go
collaboration.go
default_branch.go
deploy_key.go
git_hooks.go Refactor names (#31405) 2024-06-19 06:32:45 +08:00
lfs.go Refactor names (#31405) 2024-06-19 06:32:45 +08:00
main_test.go
protected_branch.go Allow force push to protected branches (#28086) 2024-07-05 18:21:56 +00:00
protected_tag.go Refactor names (#31405) 2024-06-19 06:32:45 +08:00
runners.go Refactor names (#31405) 2024-06-19 06:32:45 +08:00
secrets.go Allow disabling authentication related user features (#31535) 2024-07-09 17:36:31 +00:00
setting.go Fix wrong transfer hint (#30889) 2024-05-08 13:17:11 +00:00
settings_test.go
variables.go
webhook.go Refactor names (#31405) 2024-06-19 06:32:45 +08:00