From 32b13f113adbfb02a08392a2f495a6000e728af6 Mon Sep 17 00:00:00 2001 From: Damodar Lohani Date: Thu, 2 Dec 2021 15:32:40 +0545 Subject: [PATCH] session secret field size increase --- app/config/collections.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/config/collections.php b/app/config/collections.php index 380982889a..9afb8f1d78 100644 --- a/app/config/collections.php +++ b/app/config/collections.php @@ -1161,7 +1161,7 @@ $collections = [ '$id' => 'secret', 'type' => Database::VAR_STRING, 'format' => '', - 'size' => 256, // https://www.tutorialspoint.com/how-long-is-the-sha256-hash-in-mysql (256 for encryption) + 'size' => 512, // https://www.tutorialspoint.com/how-long-is-the-sha256-hash-in-mysql (512 for encryption) 'signed' => true, 'required' => false, 'default' => null,