0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2025-01-05 06:00:26 -05:00
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 Repository explore alphabetically order respect owner name (#30882) 2024-05-14 15:31:36 +02:00
feed Teach activities.GetFeeds() how to avoid returning duplicates 2024-05-09 18:37:30 +00:00
healthcheck Add health-check test 2024-04-06 08:44:23 +00:00
misc
org Add missed return after ctx.ServerError (#31130) (#31133) 2024-05-31 14:35:19 +02:00
repo Show lock owner instead of repo owner on LFS setting page (#31788) (#31817) 2024-08-18 07:01:03 +02:00
shared Fix various problems around projects board view (#30696) 2024-05-14 15:51:15 +02:00
user enable linter testifylint on v7 (#4572) 2024-07-30 19:42:06 +00:00
base.go
githttp.go
goget.go
home.go migrate some more "OptionalBool" to "Option[bool]" (#29479) 2024-03-06 12:10:44 +08:00
metrics.go
nodeinfo.go
swagger_json.go
web.go Move reverproxyauth before session so the header will not be ignored even if user has login (#27821) (#30948) 2024-05-14 16:17:23 +02:00
webfinger.go fix: respond with JSON Resource Descriptor Content-Type per RFC7033 2024-04-02 09:41:57 +00:00