0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-22 15:23:14 -05:00
forgejo/templates/admin
Gusted 7f8f9b878f
fix: Revert "allow synchronizing user status from OAuth2 login providers (#31572)"
This commit has a fundamental flaw, in order to syncronize if external
users are still active the commit checks if the refresh token is
accepted by the OAuth provider, if that is not the case it sees that as
the user is disabled and sets the is active field to `false` to signal
that. Because it might be possible (this commit makes this a highly
likelyhood) that the OAuth provider still recognizes this user the
commit introduces code to allow users to re-active themselves via the
oauth flow if they were disabled because of this. However this code
makes no distinction in why the user was disabled and always re-actives
the user.

Thus the reactivation via the OAuth flow allows users to bypass the
manually activation setting (`[service].REGISTER_MANUAL_CONFIRM`) or if
the admin for other reasons disabled the user.

This reverts commit 21fdd28f08.
2024-12-12 05:59:06 +01:00
..
applications
auth fix: Revert "allow synchronizing user status from OAuth2 login providers (#31572)" 2024-12-12 05:59:06 +01:00
emails Support delete user email in admin panel (#31690) 2024-07-28 09:00:29 +02:00
org [PORT] Refactor DateUtils and merge TimeSince (gitea#32409) 2024-11-10 22:23:27 +01:00
packages [PORT] Refactor DateUtils and merge TimeSince (gitea#32409) 2024-11-10 22:23:27 +01:00
repo [PORT] Refactor DateUtils and merge TimeSince (gitea#32409) 2024-11-10 22:23:27 +01:00
runners
user [PORT] Refactor DateUtils and merge TimeSince (gitea#32409) 2024-11-10 22:23:27 +01:00
actions.tmpl
config.tmpl Add cache test for admins (#31265) 2024-06-23 11:27:03 +02:00
config_settings.tmpl Remove fomantic checkbox module (#30162) 2024-04-07 11:05:37 +02:00
cron.tmpl [PORT] Refactor DateUtils and merge TimeSince (gitea#32409) 2024-11-10 22:23:27 +01:00
dashboard.tmpl Remove urls from translations (#31950) 2024-09-12 17:28:58 +05:00
hook_new.tmpl
hooks.tmpl
layout_footer.tmpl
layout_head.tmpl [UI] Fix admin layout 2024-07-30 23:35:22 +02:00
navbar.tmpl [CHORE] Remove Microsoft SQL Server Support 2024-04-05 23:37:36 +02:00
notice.tmpl [PORT] Refactor DateUtils and merge TimeSince (gitea#32409) 2024-11-10 22:23:27 +01:00
queue.tmpl
queue_manage.tmpl Migrate margin and padding helpers to tailwind (#30043) 2024-03-30 07:17:29 +01:00
self_check.tmpl Add cache test for admins (#31265) 2024-06-23 11:27:03 +02:00
stacktrace-row.tmpl [PORT] Refactor DateUtils and merge TimeSince (gitea#32409) 2024-11-10 22:23:27 +01:00
stacktrace.tmpl Fix incorrect tailwind migration (#30007) 2024-03-26 19:04:27 +01:00
stats.tmpl
system_status.tmpl