Apply suggestion from @CommanderStorm
This commit is contained in:
parent
0a85868c1e
commit
125fb1ccf4
@ -54,7 +54,7 @@ const main = async () => {
|
||||
password = await question("New Password: ");
|
||||
const passwordValidation = validatePassword(password);
|
||||
if (!passwordValidation.ok) {
|
||||
console.log(passwordValidation.msg || "Password is too weak, please try again.");
|
||||
console.log(passwordValidation.msg);
|
||||
continue;
|
||||
}
|
||||
confirmPassword = await question("Confirm New Password: ");
|
||||
|
||||
Loading…
Reference in New Issue
Block a user