daac90c4e1
hooks doing something like this: err = provider.updateUser(u) ... return provider.userExists(username) could be racy if another update happen before provider.userExists(username) also pass a pointer to updateUser so if the user is modified inside "validateUser" we can just return the modified user without do a new query |
||
---|---|---|
.. | ||
file.go | ||
handler.go | ||
internal_test.go | ||
mimecache.go | ||
server.go | ||
webdavd.go | ||
webdavd_test.go |