diff --git a/app/Console/Commands/ResetPasswordCommand.php b/app/Console/Commands/ResetPasswordCommand.php index dc9e9dc3..3558272a 100644 --- a/app/Console/Commands/ResetPasswordCommand.php +++ b/app/Console/Commands/ResetPasswordCommand.php @@ -31,7 +31,6 @@ class ResetPasswordCommand extends Command if (empty($this->user)) { $this->warn('A user with this email address could not be found!'); } - } while (empty($this->user)); } @@ -49,7 +48,6 @@ class ResetPasswordCommand extends Command $this->warn($error); } } - } while ($validator->invalid()); $this->user->password = bcrypt($newPassword);