forgejo/routers/web/auth
Rowan Bohde 41281fc80a
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 17:15:25 +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-16 14:21:39 +00: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 17:15:25 +02:00
main_test.go make writing main test easier (#27270) 2023-09-28 01:38:53 +00:00
oauth.go fix: PKCE only for supported providers 2024-06-10 11:24:32 +02:00
oauth_test.go enable linter testifylint on v8 (#4573) 2024-07-30 19:41:27 +00:00
openid.go add CfTurnstileSitekey context data to all captcha templates (#31874) 2024-08-25 17:15:25 +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