mirror of
1
Fork 0
forgejo/routers/web
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
..
admin enable linter testifylint on v8 (#4573) 2024-07-30 19:41:27 +00:00
auth add CfTurnstileSitekey context data to all captcha templates (#31874) 2024-08-25 17:15:25 +02:00
devtest Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
events Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
explore Add missing repository type filter parameters to pager (#31832) 2024-08-21 13:03:36 +02:00
feed Teach activities.GetFeeds() how to avoid returning duplicates 2024-05-09 18:33:33 +02:00
healthcheck Add health-check test 2024-04-06 00:34:55 +02:00
misc Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
org Add missing repository type filter parameters to pager (#31832) 2024-08-21 13:03:36 +02:00
repo Avoid returning without written ctx when posting PR (#31843) 2024-08-21 13:03:36 +02:00
shared Drop `IDOrderDesc` for listing Actions task and always order by `id DESC` (#31150) 2024-06-02 16:26:54 +02:00
user Add missing repository type filter parameters to pager (#31832) 2024-08-21 13:03:36 +02:00
base.go Fix panic in storageHandler (#27446) 2023-10-06 13:23:14 +00:00
githttp.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
goget.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
home.go migrate some more "OptionalBool" to "Option[bool]" (#29479) 2024-03-06 12:10:44 +08:00
metrics.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
nodeinfo.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
swagger_json.go Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
web.go Add support for workflow_dispatch (#3334) 2024-06-28 05:17:11 +00:00
webfinger.go Enable more `revive` linter rules (#30608) 2024-04-28 15:39:00 +02:00