mirror of
https://github.com/drakkan/sftpgo.git
synced 2025-12-07 06:40:54 +03:00
webdav: fix caching with external auth/plugins
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
This commit is contained in:
@@ -130,7 +130,7 @@ func checkUserCache() {
|
||||
cachedUserPasswords.Remove(user.Username)
|
||||
delayedQuotaUpdater.resetUserQuota(user.Username)
|
||||
} else {
|
||||
webDAVUsersCache.swap(&user)
|
||||
webDAVUsersCache.swap(&user, "")
|
||||
}
|
||||
}
|
||||
lastUserCacheUpdate.Store(checkTime)
|
||||
|
||||
Reference in New Issue
Block a user