From ad5be7d530e4c294c6df0dffc4c64bfc61e3737f Mon Sep 17 00:00:00 2001 From: hanif salafi Date: Fri, 9 May 2025 02:30:05 +0000 Subject: [PATCH] Edit config.toml for disable csrf --- config/toml/config.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/toml/config.toml b/config/toml/config.toml index e74e196..ab4afcc 100644 --- a/config/toml/config.toml +++ b/config/toml/config.toml @@ -54,7 +54,7 @@ max = 20 expiration_seconds = 60 [middleware.csrf] -enable = true +enable = false cookie-name = "csrf_" cookie-same-site = "Lax" cookie-secure = false