Files
sftpgo/cmd
Nicola Murino daac90c4e1 fix a potential race condition for pre-login and ext auth
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
2021-01-05 09:50:22 +01:00
..
2020-10-18 21:52:42 +02:00
2020-07-10 19:20:37 +02:00
2020-12-18 16:22:52 +01:00
2020-12-18 16:22:52 +01:00
2020-06-20 14:30:46 +02:00
2020-06-20 14:30:46 +02:00