0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-19 08:35:29 +01:00
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_test.go
auth.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_test.go
oauth.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