mirror of
https://gitlab.com/comunic/comunicapiv2
synced 2024-11-21 21:09:22 +00:00
Fix typo
This commit is contained in:
parent
a2c8a0c437
commit
c3e749361a
@ -202,7 +202,7 @@ export class AccountController {
|
|||||||
// Check the answers
|
// Check the answers
|
||||||
if(answers[0] != settings.security_answer_1.toLowerCase().trim() ||
|
if(answers[0] != settings.security_answer_1.toLowerCase().trim() ||
|
||||||
answers[1] != settings.security_answer_2.toLowerCase().trim())
|
answers[1] != settings.security_answer_2.toLowerCase().trim())
|
||||||
h.error(401, "Specified ecurity answers are invalid!");
|
h.error(401, "Specified security answers are invalid!");
|
||||||
|
|
||||||
// If we get there, security answers are valid, we can create a password reset token
|
// If we get there, security answers are valid, we can create a password reset token
|
||||||
h.send({
|
h.send({
|
||||||
|
Loading…
Reference in New Issue
Block a user