fix(backend): Remove wrong copy/pasted line
This commit is contained in:
parent
2851cae81e
commit
9493c518e5
1 changed files with 0 additions and 3 deletions
|
@ -314,9 +314,6 @@ UserModel.prototype.passwordSignIn = async function (req) {
|
||||||
await this.unguardedUpdate({ password: updatedPasswordField })
|
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')
|
return this.isOk() ? this.signInOk() : this.setResponse(401, 'signInFailed')
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue