mirror of
https://github.com/louislam/dockge.git
synced 2024-11-28 05:24: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) {
|
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);
|
||||||
|
|
Loading…
Reference in a new issue