Skip to content

Commit 7de2692

Browse files
jason-gaoPeeHaa
authored andcommitted
fix:generate-password cli script,[0] is generate-password.php,not password value
1 parent 450e5bd commit 7de2692

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cli/generate-passwd.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@
1212
exit;
1313
}
1414

15-
echo password_hash($argv[0], PASSWORD_DEFAULT, ['cost' => 12]) . PHP_EOL;
15+
echo password_hash($password, PASSWORD_DEFAULT, ['cost' => 12]) . PHP_EOL;

0 commit comments

Comments
 (0)