1
0
Fork 0

fix(backend): Remove wrong copy/pasted line

This commit is contained in:
Joost De Cock 2023-03-26 15:47:48 +02:00
parent 2851cae81e
commit 9493c518e5

View file

@ -314,9 +314,6 @@ UserModel.prototype.passwordSignIn = async function (req) {
await this.unguardedUpdate({ password: updatedPasswordField })
}
// Before we return, remove the confirmation so it works only once
await this.Confirmation.unguardedDelete()
return this.isOk() ? this.signInOk() : this.setResponse(401, 'signInFailed')
}