mirror of
https://github.com/pelican-dev/panel.git
synced 2026-02-24 03:12:01 +03:00
Turnstile prevents submitting 2FA token #390
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @J-Lassauw on GitHub (Jul 21, 2025).
Current Behavior
When a user tries to log in with Turnstile enabled, 2FA is not prompted until the capacha is passed. Once MFA is prompted the login enters an invalid state where the capacha token has already been validated and can't be re-used.
Expected Behavior
The capacha should be reloaded when 2FA is active.
Steps to Reproduce
Enable capacha and attempt to log in with a 2FA enabled user.
Panel Version
1.0.0-beta23
Wings Version
1.0.0-beta15
Games and/or Eggs Affected
No response
Docker Image
No response
Error Logs
Is there an existing issue for this?
@Boy132 commented on GitHub (Jul 21, 2025):
Could you please try the changes from https://github.com/pelican-dev/panel/compare/main...boy132/fix-2fa-with-captcha and see if that fixes the issue?
@J-Lassauw commented on GitHub (Jul 21, 2025):
Tried this, no dice, I do get a 401 from challenges.cloudflare.com which could be interesting, and this does refresh the capacha UI and make me fill it in, maybe the form is still submitting the old one? I still get the same error visually from the screenshot.
@J-Lassauw commented on GitHub (Jul 22, 2025):
The above worked when patched in.
@rmartinoscar commented on GitHub (Sep 10, 2025):
Still happening you are stuck on the verify your identity