mirror of
https://github.com/go-gitea/gitea
synced 2024-11-05 09:27:04 +01:00
1ee59f0fa3
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> |
||
---|---|---|
.. | ||
avatar_test.go | ||
avatar.go | ||
badge.go | ||
block.go | ||
email_address_test.go | ||
email_address.go | ||
error.go | ||
external_login_user.go | ||
follow_test.go | ||
follow.go | ||
list.go | ||
main_test.go | ||
must_change_password.go | ||
openid_test.go | ||
openid.go | ||
redirect_test.go | ||
redirect.go | ||
search.go | ||
setting_keys.go | ||
setting_test.go | ||
setting.go | ||
user_system.go | ||
user_test.go | ||
user_update.go | ||
user.go |