Skip to content

[PB-7145]: feat/send-turnstile-on-management-login - #181

Merged
sg-gs merged 3 commits into
mainfrom
feat/PB-7145-turnstile-login
Nov 23, 2026
Merged

sg-gs merged 3 commits into
mainfrom
feat/PB-7145-turnstile-login

Conversation

@sg-gs

@sg-gs sg-gs commented Nov 23, 2026 •

Copy link
Copy Markdown
Member

What

  • The management login now gets an invisible Turnstile token (a challenge only appears if needed) and sends it in x-internxt-captcha.
  • If the captcha is rejected or cannot be loaded, the login form shows the existing "Verification could not be loaded" message.
  • Adds captchaService.withCaptcha to wrap the token and rejection handling.
  • Partners, sub-accounts and wholesalers logins are unchanged for now.

Why

  • Protects the management console login against automated abuse, in an environment that does not affect customers.
  • Deploy before the server PR, which will require the token.

@sg-gs sg-gs added the enhancement New feature or request label Nov 23, 2026
@sg-gs sg-gs self-assigned this Nov 23, 2026
@sg-gs
sg-gs requested a review from xabg2 November 23, 2026 10:27
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Nov 23, 2026 •

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
object-storage-management-web a9333ca Commit Preview URL

Branch Preview URL
Nov 23 2026, 10:46 AM

@sg-gs sg-gs changed the title [PB-7145]: feat/send-turnstile-on-console-logins [PB-7145]: feat/send-turnstile-on-management-login Nov 23, 2026
@sg-gs
sg-gs marked this pull request as ready for review November 23, 2026 10:44
@sg-gs
sg-gs merged commit 08c5f35 into main Nov 23, 2026
2 checks passed
@sg-gs
sg-gs deleted the feat/PB-7145-turnstile-login branch November 23, 2026 10:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants