From 25dc99c44b89a58dbf236e0cace19e862f16f2f2 Mon Sep 17 00:00:00 2001 From: Kosmatoff Date: Sun, 12 Nov 2023 23:39:14 +0300 Subject: [PATCH] edit time csrf --- internal/microservices/csrf/usecase/usecase.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/microservices/csrf/usecase/usecase.go b/internal/microservices/csrf/usecase/usecase.go index 752ec8dd..b387f27e 100644 --- a/internal/microservices/csrf/usecase/usecase.go +++ b/internal/microservices/csrf/usecase/usecase.go @@ -13,7 +13,7 @@ import ( var tokenSecret = os.Getenv("SECRET") -const csrfTokenTTL = 30 * time.Minute +const csrfTokenTTL = time.Minute //30 * time.Minute const jwtParsingMaxTime = 3 * time.Second type Usecase struct {