forgejo/templates
Gusted 29a0b0131e 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.

(cherry picked from commit 7f8f9b878f)
2024-12-12 05:43:20 +00:00
..
admin fix: Revert "allow synchronizing user status from OAuth2 login providers (#31572)" 2024-12-12 05:43:20 +00:00
api/packages/pypi Update templates/api/packages/pypi/simple.tmpl 2024-04-12 16:43:30 +00:00
base Update module github.com/editorconfig-checker/editorconfig-checker/v2/cmd/editorconfig-checker to v3 2024-08-09 21:03:37 +02:00
custom [FEAT] Repository flags 2024-02-05 16:09:42 +01:00
devtest Fix some URLs whose sub-path is missing (#31289) 2024-06-09 16:04:57 +02:00
explore [I18N] Injected updated time in translation string (#3837) 2024-05-20 18:47:35 +00:00
htmx Update module github.com/editorconfig-checker/editorconfig-checker/v2/cmd/editorconfig-checker to v3 2024-08-09 21:03:37 +02:00
mail Merge pull request '[SEC] Notify owner about TOTP enrollment' (#4704) from gusted/sec-more-totp into forgejo 2024-07-27 20:53:47 +00:00
org i18n: UX improvements: Team permissions and issue closing 2024-09-24 19:03:30 +02:00
package feat: add architecture-specific removal support for arch package (#5351) 2024-09-27 08:29:09 +00:00
projects fix: use column flex on mobile to prevent project title from wrapping 2024-10-15 11:27:04 +00:00
repo Cap wiki search width at 80% container width 2024-11-30 17:11:07 +01:00
shared follow up on #2367: rel="nofollow" on in-list labels 2024-08-15 21:56:26 +02:00
status #5324 Fix centered fork note 2024-10-06 01:57:24 +00:00
swagger Improve Swagger documentation for user endpoints 2024-11-28 20:44:16 +00:00
user fix: Move "forgot_password"-link to fix login tab order 2024-11-10 02:24:58 +01:00
webhook fix: improve discord webhook api conformance 2024-10-09 16:07:34 +00:00
home.tmpl fix(i18n): remove unnecessary variable (#5533) 2024-10-11 18:52:23 +00:00
install.tmpl A few cosmetic improvements to the installation page (#4170) 2024-06-18 09:49:56 +00:00
post-install.tmpl [BRANDING] Custom loading animation for Forgejo 2024-02-05 16:02:13 +01:00