Skip to content

Commit

Permalink
Fixes bug showing the entered password
Browse files Browse the repository at this point in the history
  • Loading branch information
daftspunk committed Dec 24, 2019
1 parent 2b45c3f commit 4fb897f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/system/console/OctoberPasswd.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public function handle()
$user->forceSave();

$this->info('Password successfully changed.');
if (!$this->generatedPassword) {
if ($this->generatedPassword) {
$this->output->writeLn('Password set to <info>' . $password . '</info>.');
}
exit(0);
Expand Down

0 comments on commit 4fb897f

Please sign in to comment.