mirror of
https://github.com/drakkan/sftpgo.git
synced 2025-12-07 23:00:55 +03:00
External/plugin auth: check for password change after empty response
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
This commit is contained in:
@@ -1178,7 +1178,7 @@ func (u *User) MustSetSecondFactorForProtocol(protocol string) bool {
|
||||
return false
|
||||
}
|
||||
|
||||
// GetSignature returns a signature for this admin.
|
||||
// GetSignature returns a signature for this user.
|
||||
// It will change after an update
|
||||
func (u *User) GetSignature() string {
|
||||
return strconv.FormatInt(u.UpdatedAt, 10)
|
||||
|
||||
Reference in New Issue
Block a user