You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/routers/web
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>
9 months ago
..
admin Refactor names (#31405) 9 months ago
auth Add Passkey login support (#31504) 9 months ago
devtest Refactor names (#31405) 9 months ago
events Move context from modules to services (#29440) 1 year ago
explore Refactor names (#31405) 9 months ago
feed Refactor names (#31405) 9 months ago
healthcheck Always enable caches (#28527) 1 year ago
misc Make sure git version&feature are always prepared (#30877) 11 months ago
org Refactor names (#31405) 9 months ago
repo Allow disabling authentication related user features (#31535) 9 months ago
shared Refactor names (#31405) 9 months ago
user Allow disabling authentication related user features (#31535) 9 months ago
base.go Azure blob storage support (#30995) 10 months ago
githttp.go Refactor names (#31405) 9 months ago
goget.go Move context from modules to services (#29440) 1 year ago
home.go migrate some more "OptionalBool" to "Option[bool]" (#29479) 1 year ago
metrics.go Implement FSFE REUSE for golang files (#21840) 2 years ago
nodeinfo.go Move context from modules to services (#29440) 1 year ago
passkey.go Move context from modules to services (#29440) 1 year ago
swagger_json.go Move context from modules to services (#29440) 1 year ago
web.go Add Passkey login support (#31504) 9 months ago
webfinger.go Move context from modules to services (#29440) 1 year ago