reduce share token duration

Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
This commit is contained in:
Nicola Murino 2024-06-08 12:13:38 +02:00
parent 3f9a03e60d
commit 7756cf9b1e
No known key found for this signature in database
GPG key ID: 935D2952DEC4EECF

View file

@ -66,7 +66,7 @@ const (
var (
tokenDuration = 20 * time.Minute
shareTokenDuration = 12 * time.Hour
shareTokenDuration = 2 * time.Hour
// csrf token duration is greater than normal token duration to reduce issues
// with the login form
csrfTokenDuration = 6 * time.Hour