mirror of
https://github.com/drakkan/sftpgo.git
synced 2024-11-21 23:20:24 +00:00
reduce share token duration
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
This commit is contained in:
parent
2749a98f26
commit
7fb5b1b996
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