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 Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
auth.go [BUG] Make logout event non-blocking 2024-08-12 19:13:23 +02:00
auth_test.go Make "/user/login" page redirect if the current user has signed in (#29583) 2024-03-11 23:36:58 +07:00
linkaccount.go add CfTurnstileSitekey context data to all captcha templates (#31874) 2024-08-25 10:47:02 +02:00
main_test.go make writing main test easier (#27270) 2023-09-28 01:38:53 +00:00
oauth.go id_token & userinfo endpoint's public groups check 2024-08-09 14:58:15 +02:00
oauth_test.go Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
openid.go add CfTurnstileSitekey context data to all captcha templates (#31874) 2024-08-25 10:47:02 +02:00
password.go Clean up log messages (#30313) 2024-04-15 20:01:35 +02:00
webauthn.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00