forgejo/routers/web/auth
Rowan Bohde 1b845b2722
add CfTurnstileSitekey context data to all captcha templates (#31874)
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.

(cherry picked from commit 0d24c9f383255605d68a92cc5f087c3f16a1d735)
2024-08-25 10:47:02 +02:00
..
2fa.go
auth.go [BUG] Make logout event non-blocking 2024-08-12 19:13:23 +02:00
auth_test.go
linkaccount.go add CfTurnstileSitekey context data to all captcha templates (#31874) 2024-08-25 10:47:02 +02:00
main_test.go
oauth.go
oauth_test.go
openid.go add CfTurnstileSitekey context data to all captcha templates (#31874) 2024-08-25 10:47:02 +02:00
password.go
webauthn.go