mirror of
1
Fork 0
forgejo/routers/web
Giteabot bf07064e40
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>
(cherry picked from commit 0affb5c775280622b277bba2223c01968bafa8b7)
2024-08-25 17:41:08 +02:00
..
admin enable linter testifylint on v7 (#4572) 2024-07-30 19:42:06 +00:00
auth add CfTurnstileSitekey context data to all captcha templates (#31874) (#31876) 2024-08-25 17:41:08 +02:00
devtest
events
explore
feed
healthcheck
misc
org
repo Show lock owner instead of repo owner on LFS setting page (#31788) (#31817) 2024-08-18 07:01:03 +02:00
shared
user enable linter testifylint on v7 (#4572) 2024-07-30 19:42:06 +00:00
base.go Fix panic in storageHandler (#27446) 2023-10-06 13:23:14 +00:00
githttp.go
goget.go
home.go
metrics.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
nodeinfo.go
swagger_json.go
web.go
webfinger.go fix: respond with JSON Resource Descriptor Content-Type per RFC7033 2024-04-02 09:41:57 +00:00