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 |
||
---|---|---|
.. | ||
cmd_unix.go | ||
cmd_windows.go | ||
cryptfs_test.go | ||
handler.go | ||
internal_test.go | ||
internal_unix_test.go | ||
lister.go | ||
scp.go | ||
server.go | ||
sftpd.go | ||
sftpd_test.go | ||
ssh_cmd.go | ||
subsystem.go | ||
transfer.go |