mirror of
https://github.com/drakkan/sftpgo.git
synced 2024-11-25 09:00:27 +00:00
reduce share token duration
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
This commit is contained in:
parent
3f9a03e60d
commit
7756cf9b1e
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue