Update reset-password.ts

This commit is contained in:
laurentlemercier 2024-02-11 23:09:46 +01:00 committed by GitHub
parent be72cdbffe
commit ff922232c1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -43,13 +43,13 @@ export const main = async () => {
while (true) { while (true) {
if (process.env.PASSWORD) { if (process.env.PASSWORD) {
console.log("Found password : " + process.env.PASSWORD) ; console.log("Found password : " + process.env.PASSWORD) ;
password = process.env.PASSWORD ; password = process.env.PASSWORD ;
confirmPassword = process.env.PASSWORD ; confirmPassword = process.env.PASSWORD ;
} else { } else {
console.log("No found password: " ) ; console.log("No found password: " ) ;
password = await question("New Password: "); password = await question("New Password: ");
confirmPassword = await question("Confirm New Password: "); confirmPassword = await question("Confirm New Password: ");
} }
// console.log("Password to be set :" + password); // console.log("Password to be set :" + password);