gitea/routers/web/auth
Giteabot 0affb5c775
add CfTurnstileSitekey context data to all captcha templates (#31874) (#31876)
Backport #31874 by @bohde

In the OpenID flows, the "CfTurnstileSitekey" wasn't populated, which
caused those flows to fail if using Turnstile as the Captcha
implementation.

This adds the missing context variables, allowing Turnstile to be used
in the OpenID flows.

Co-authored-by: Rowan Bohde <rowan.bohde@gmail.com>
2024-08-20 14:45:08 +00:00
..
2fa.go
auth.go Add missed return after `ctx.ServerError` (#31130) (#31133) 2024-05-28 12:47:11 +02:00
auth_test.go
linkaccount.go add CfTurnstileSitekey context data to all captcha templates (#31874) (#31876) 2024-08-20 14:45:08 +00:00
main_test.go
oauth.go use existing oauth grant for public client (#31015) (#31042) 2024-05-21 17:32:31 +00:00
oauth_test.go
openid.go add CfTurnstileSitekey context data to all captcha templates (#31874) (#31876) 2024-08-20 14:45:08 +00:00
password.go
webauthn.go