mirror of
https://github.com/0rangebananaspy/authelia.git
synced 2024-09-14 22:47:21 +07:00
Make password from hash-password command required.
This commit is contained in:
parent
ace780d86b
commit
f529cd7b38
|
@ -25,4 +25,8 @@ program
|
||||||
})
|
})
|
||||||
.parse(process.argv);
|
.parse(process.argv);
|
||||||
|
|
||||||
|
if (!password) {
|
||||||
|
program.help();
|
||||||
|
}
|
||||||
|
|
||||||
console.log(ssha512(password, program.salt || 16, program.rounds || 500000));
|
console.log(ssha512(password, program.salt || 16, program.rounds || 500000));
|
||||||
|
|
Loading…
Reference in New Issue
Block a user