mirror of
https://github.com/drakkan/sftpgo.git
synced 2026-03-14 22:35:52 +01:00
httpd: log csrf token duration
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
This commit is contained in:
parent
b2e9935049
commit
5febcdca43
1 changed files with 2 additions and 2 deletions
|
|
@ -96,8 +96,8 @@ func updateTokensDuration(api, cookie, share int) {
|
|||
if isTokenDurationValid(share) {
|
||||
shareTokenDuration = time.Duration(share) * time.Minute
|
||||
}
|
||||
logger.Debug(logSender, "", "API token duration %s, cookie token duration %s, cookie refresh threshold %s, share token duration %s",
|
||||
apiTokenDuration, cookieTokenDuration, cookieRefreshThreshold, shareTokenDuration)
|
||||
logger.Debug(logSender, "", "API token duration %s, cookie token duration %s, cookie refresh threshold %s, share token duration %s, csrf token duration %s",
|
||||
apiTokenDuration, cookieTokenDuration, cookieRefreshThreshold, shareTokenDuration, csrfTokenDuration)
|
||||
}
|
||||
|
||||
func getTokenDuration(audience tokenAudience) time.Duration {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue