Skip to content

Commit

Permalink
fix:generate-password cli script,[0] is generate-password.php,not pas…
Browse files Browse the repository at this point in the history
…sword value
  • Loading branch information
jason-gao authored and PeeHaa committed Feb 28, 2018
1 parent 450e5bd commit 7de2692
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/generate-passwd.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.