mirror of
https://github.com/drakkan/sftpgo.git
synced 2025-12-07 14:50:55 +03:00
allow to configure JWT tokens and cookies duration
Fixes #1839 Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
This commit is contained in:
@@ -540,7 +540,7 @@ func changeUserPassword(w http.ResponseWriter, r *http.Request) {
|
||||
sendAPIResponse(w, r, err, "", getRespStatus(err))
|
||||
return
|
||||
}
|
||||
invalidateToken(r, false)
|
||||
invalidateToken(r)
|
||||
sendAPIResponse(w, r, err, "Password updated", http.StatusOK)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user