Increase the session duration to 6 months

Unlike most other websites of its kind (such as GitHub), the asset library
had a tendency to require logging in much more often.
This commit is contained in:
Hugo Locurcio
2020-12-05 15:17:03 +01:00
parent 2aa2260311
commit ca4935df86

View File

@@ -37,7 +37,7 @@ return [
// Auth configuration
'auth' => [
'secret' => 'somerandomstringshouldbeputhere', // Check settings-local.php
'tokenExpirationTime' => 3600 * 24 * 7, // week
'tokenExpirationTime' => 3600 * 24 * 180, // 6 months
'tokenSessionBytesLength' => 24, // If set to something which isn't 24, change DB schema
'tokenResetBytesLength' => 32, // If set to something which isn't 32, change DB schema
'bcryptOptions' => [