0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2025-01-22 06:12:55 -05:00
forgejo/templates
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
..
admin fix: Revert "allow synchronizing user status from OAuth2 login providers (#31572)" 2024-12-12 05:59:06 +01:00
api/packages/pypi
base Add a "summary card" to issues & PRs for consumption by OpenGraph clients (#6053) 2024-11-29 15:02:03 +00:00
custom
devtest [PORT] Refactor DateUtils and merge TimeSince (gitea#32409) 2024-11-10 22:23:27 +01:00
explore [PORT] Refactor DateUtils and merge TimeSince (gitea#32409) 2024-11-10 22:23:27 +01:00
htmx
mail
org Fix the missing menu in organization project view page (#32313) 2024-11-05 09:33:15 +01:00
package cleanup package route 2024-12-09 09:11:22 +08:00
projects fix: use column flex on mobile to prevent project title from wrapping 2024-10-12 18:21:14 +00:00
repo i18n: avoid storing i18n linter exceptions for <filename> (#6237) 2024-12-11 16:38:42 +00:00
shared feat(ui): highlight user mention in comments and commit messages 2024-11-14 14:08:12 +01:00
status #5324 Fix centered fork note 2024-10-06 00:14:30 +02:00
swagger Merge pull request 'Improve Swagger documentation for user endpoints' (#6050) from JakobDev/forgejo:userswagger into forgejo 2024-11-28 20:42:19 +00:00
user feat: Add option to disable builtin authentication. 2024-12-01 15:50:10 +01:00
webhook fix: improve discord webhook api conformance 2024-10-08 22:43:28 +02:00
home.tmpl fix(i18n): remove unnecessary variable (#5533) 2024-10-11 18:51:29 +00:00
install.tmpl
post-install.tmpl