mirror of
https://github.com/louislam/dockge.git
synced 2024-11-24 03:44:03 +00:00
Update reset-password.ts
This commit is contained in:
parent
be72cdbffe
commit
ff922232c1
1 changed files with 6 additions and 6 deletions
|
@ -43,13 +43,13 @@ export const main = async () => {
|
|||
|
||||
while (true) {
|
||||
if (process.env.PASSWORD) {
|
||||
console.log("Found password : " + process.env.PASSWORD) ;
|
||||
password = process.env.PASSWORD ;
|
||||
confirmPassword = process.env.PASSWORD ;
|
||||
console.log("Found password : " + process.env.PASSWORD) ;
|
||||
password = process.env.PASSWORD ;
|
||||
confirmPassword = process.env.PASSWORD ;
|
||||
} else {
|
||||
console.log("No found password: " ) ;
|
||||
password = await question("New Password: ");
|
||||
confirmPassword = await question("Confirm New Password: ");
|
||||
console.log("No found password: " ) ;
|
||||
password = await question("New Password: ");
|
||||
confirmPassword = await question("Confirm New Password: ");
|
||||
}
|
||||
|
||||
// console.log("Password to be set :" + password);
|
||||
|
|
Loading…
Reference in a new issue