0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-18 11:03:04 +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 Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
auth_test.go Improve oauth2 client "preferred username field" logic and the error handling (#30622) 2024-04-25 11:22:32 +00:00
auth.go Add missed return after ctx.ServerError (#31130) (#31133) 2024-05-28 12:47:11 +02:00
linkaccount.go add CfTurnstileSitekey context data to all captcha templates (#31874) (#31876) 2024-08-20 14:45:08 +00:00
main_test.go make writing main test easier (#27270) 2023-09-28 01:38:53 +00:00
oauth_test.go Bump github.com/golang-jwt/jwt to v5 (#25975) 2023-07-19 09:57:10 +00:00
oauth.go use existing oauth grant for public client (#31015) (#31042) 2024-05-21 17:32:31 +00:00
openid.go add CfTurnstileSitekey context data to all captcha templates (#31874) (#31876) 2024-08-20 14:45:08 +00:00
password.go Clean up log messages (#30313) 2024-04-07 19:17:06 +08:00
webauthn.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00