langleyfoxall / laravel-boilerplate

Boilerplate for Laravel with common tools/plugins for ease of development.
MIT License
2 stars 4 forks source link

Reset Password Controller crashes #20

Closed James34Shaw100 closed 5 years ago

James34Shaw100 commented 5 years ago

Line 51 in app/Http/Controllers/Auth/ResetPasswordController.php reads: 'password' => PasswordRules::changePassword($this->email), this should be: 'password' => PasswordRules::changePassword(request()->email), or a crash occurs when the user tries to set their password when resetting.

DivineOmega commented 5 years ago

Good catch James.