githaven-fork/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>
2024-07-09 17:36:31 +00:00
..
admin Refactor names (#31405) 2024-06-19 06:32:45 +08:00
auth Add Passkey login support (#31504) 2024-06-29 22:50:03 +00:00
devtest Refactor names (#31405) 2024-06-19 06:32:45 +08:00
events Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
explore Refactor names (#31405) 2024-06-19 06:32:45 +08:00
feed Refactor names (#31405) 2024-06-19 06:32:45 +08:00
healthcheck Always enable caches (#28527) 2023-12-19 09:29:05 +00:00
misc Make sure git version&feature are always prepared (#30877) 2024-05-06 18:34:16 +02:00
org Refactor names (#31405) 2024-06-19 06:32:45 +08:00
repo Allow disabling authentication related user features (#31535) 2024-07-09 17:36:31 +00:00
shared Refactor names (#31405) 2024-06-19 06:32:45 +08:00
user Allow disabling authentication related user features (#31535) 2024-07-09 17:36:31 +00:00
base.go Azure blob storage support (#30995) 2024-05-30 07:33:50 +00:00
githttp.go Refactor names (#31405) 2024-06-19 06:32:45 +08:00
goget.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
home.go migrate some more "OptionalBool" to "Option[bool]" (#29479) 2024-02-29 18:52:49 +00:00
metrics.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
nodeinfo.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
passkey.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
swagger_json.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
web.go Add Passkey login support (#31504) 2024-06-29 22:50:03 +00:00
webfinger.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00