1
0
Fork 0
mirror of synced 2024-06-26 10:10:57 +12:00

session secret field size increase

This commit is contained in:
Damodar Lohani 2021-12-02 15:32:40 +05:45
parent bc22bbae46
commit 32b13f113a

View file

@ -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,