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 |
||
---|---|---|
.. | ||
schema | ||
api_defender.go | ||
api_folder.go | ||
api_maintenance.go | ||
api_quota.go | ||
api_user.go | ||
api_utils.go | ||
auth.go | ||
httpd.go | ||
httpd_test.go | ||
internal_test.go | ||
router.go | ||
web.go |