Permalink
Browse files

fix:generate-password cli script,[0] is generate-password.php,not pas…

…sword value
  • Loading branch information...
jason-gao authored and PeeHaa committed Feb 28, 2018
1 parent 450e5bd commit 7de269210b596104f6cdf59f897a6a71026f0bf4
Showing with 1 addition and 1 deletion.
  1. +1 −1 cli/generate-passwd.php
View
@@ -12,4 +12,4 @@
exit;
}
echo password_hash($argv[0], PASSWORD_DEFAULT, ['cost' => 12]) . PHP_EOL;
echo password_hash($password, PASSWORD_DEFAULT, ['cost' => 12]) . PHP_EOL;

0 comments on commit 7de2692

Please sign in to comment.