mirror of
https://github.com/drakkan/sftpgo.git
synced 2025-12-07 14:50:55 +03:00
WebClient/REST API: add sharing support
This commit is contained in:
@@ -38,8 +38,8 @@ var (
|
||||
tokenDuration = 20 * time.Minute
|
||||
// csrf token duration is greater than normal token duration to reduce issues
|
||||
// with the login form
|
||||
csrfTokenDuration = 6 * time.Hour
|
||||
tokenRefreshMin = 10 * time.Minute
|
||||
csrfTokenDuration = 6 * time.Hour
|
||||
tokenRefreshThreshold = 10 * time.Minute
|
||||
)
|
||||
|
||||
type jwtTokenClaims struct {
|
||||
|
||||
Reference in New Issue
Block a user