diff --git a/scripts/authelia-scripts-hash-password b/scripts/authelia-scripts-hash-password index e8e25d5c..a8ac7a59 100755 --- a/scripts/authelia-scripts-hash-password +++ b/scripts/authelia-scripts-hash-password @@ -25,4 +25,8 @@ program }) .parse(process.argv); +if (!password) { + program.help(); +} + console.log(ssha512(password, program.salt || 16, program.rounds || 500000));