From e79476a7b1b0907758c99cc2caafe1b9a3d35b70 Mon Sep 17 00:00:00 2001 From: Sohel Ahmed Mesaniya Date: Wed, 3 Nov 2021 18:43:50 +0530 Subject: [PATCH] Generated cookieValidationKey in dynamic way Generated `cookieValidationKey` in dynamic way --- backend/config/components.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/config/components.php b/backend/config/components.php index 701cfb3..31d7a5d 100644 --- a/backend/config/components.php +++ b/backend/config/components.php @@ -6,7 +6,7 @@ return [ 'request' => [ - 'cookieValidationKey' => 'api1337', // TODO this should be dynamic + 'cookieValidationKey' => uniqid(uniqid(), true) ], 'urlManager' => [