Skip to content

Commit

Permalink
reduce share token duration
Browse files Browse the repository at this point in the history
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
  • Loading branch information
drakkan committed Jun 8, 2024
1 parent 3f9a03e commit 7756cf9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/httpd/auth_utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7756cf9

Please sign in to comment.