When I attempt to reset a users password I run into a fatal error once the form filled and posted to /password/email
I'm running Laravel 5.2
ReflectionException in Container.php line 738: Class auth.password does not exist
All of my views are in place and password_resets exists in the database.
NOTE: this fatal error only occurs when the user fills out the "reset password email form" and hits submit.
Here is the password controller, which is a stock controller.
<?php
namespace App\Http\Controllers\Auth;
use Auth;
use App\Http\Controllers\Controller;
use Illuminate\Foundation\Auth\ResetsPasswords;
class PasswordController extends Controller
{
/*
|--------------------------------------------------------------------------
| Password Reset Controller
|--------------------------------------------------------------------------
|
| This controller is responsible for handling password reset requests
| and uses a simple trait to include this behavior. You're free to
| explore this trait and override any methods you wish to tweak.
|
*/
use ResetsPasswords;
/**
* Create a new password controller instance.
*
* @return void
*/
public function __construct()
{
$this->middleware('guest');
}
}
Update: Route
Route::controllers([
'password' => 'Auth\PasswordController',
]);