mirror of
https://github.com/drakkan/sftpgo.git
synced 2024-11-22 07:30:25 +00:00
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 |
||
---|---|---|
.. | ||
actions.go | ||
actions_test.go | ||
common.go | ||
common_test.go | ||
connection.go | ||
connection_test.go | ||
defender.go | ||
defender_test.go | ||
httpauth.go | ||
httpauth_test.go | ||
tlsutils.go | ||
tlsutils_test.go | ||
transfer.go | ||
transfer_test.go |