1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-04 08:17:24 -05:00
gitea/templates
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 Add cache test for admins (#31265) 2024-06-17 21:22:39 +02:00
api/packages/pypi Fix links in PyPI Simple Repository API page (#30594) 2024-04-20 01:15:14 +00:00
base Refactor repo unit "disabled" check (#31389) 2024-06-18 00:51:13 +00:00
custom Add footer extra links template (#9576) 2020-01-03 20:41:56 +02:00
devtest Make toast support preventDuplicates (#31501) 2024-06-27 13:58:38 +00:00
explore Refactor web routes (#30519) 2024-04-17 08:31:37 +00:00
mail Remove unnecessary SanitizeHTML from code (#29575) 2024-03-04 12:02:45 +00:00
org Right align the "Settings" menu item in overflow-menu (#30764) 2024-04-30 04:26:13 +00:00
package Extract and display readme and comments for Composer packages (#30927) 2024-06-14 04:45:52 +00:00
projects Replace gt-word-break with tw-break-anywhere (#31183) 2024-06-04 13:57:11 +00:00
repo Don't show hidden labels when filling out an issue template (#31576) 2024-07-08 04:31:12 +00:00
shared Improve detecting empty files (#31332) 2024-06-13 01:06:46 +00:00
status Simplify 404/500 page (#31409) 2024-06-23 17:45:21 +00:00
swagger Allow force push to protected branches (#28086) 2024-07-05 18:21:56 +00:00
user Allow disabling authentication related user features (#31535) 2024-07-09 17:36:31 +00:00
webhook Fix incorrect tailwind migration (#30007) 2024-03-22 20:51:29 +01:00
home.tmpl Migrate margin and padding helpers to tailwind (#30043) 2024-03-24 17:42:49 +01:00
install.tmpl Fix some UI problems (install/checkbox) (#30854) 2024-05-06 06:32:05 +00:00
post-install.tmpl Always use ctx.Locale.Tr inside templates (#27231) 2023-09-25 08:56:50 +00:00