Have a problem about laravel password reminding.
I can get the link by email from postRemind method in RemindersController controller.
When i click on the reset mail link (
http://localhost/projects/mylaravelproject/public/password/reset/d3f0480aa46baa4a8ae23770509b1dc6b6ca3cbf)
I get this error : Symfony \ Component \ HttpKernel \ Exception \ NotFoundHttpException
As a conclusion, I am having problem while trying to reach reset.blade page.
<form action="{{ action('RemindersController@postReset') }}" method="POST"> <input type="hidden" name="token" value="{{ $token }}"> <input type="email" name="email"> <input type="password" name="password"> <input type="password" name="password_confirmation"> <input type="submit" value="Reset Password"> </form>
4.
- This is my routes.php file :
Route::get('/', function() { return View::make('pages.home'); }); //routes to home page when an inner call incomes from the main menu Route::get('home', [ 'as' => 'home', function(){ return View::make('pages.home'); } ]); //routes to about page Route::get('about', [ 'as' => 'about', function(){ return View::make('pages.about'); } ]); //routes to login page Route::any('login', [ 'as' => 'login', function(){ return View::make('pages.login'); } ]); //Routes to forgot password page Route::any('remindPassword', [ 'as' => 'password.remind', function(){ return View::make('password.remind'); } ]); //Forgot Password Post Controller Route::post('password.remind', [ 'uses' => 'RemindersController@postRemind', 'as' => 'password.remind.postRemind' ]); //Routes to register page Route::any('register', [ 'as' => 'register', function(){ return View::make('pages.register'); } ]); //Registration Post Controller Route::post('register', array( 'uses' => 'RegistrationController@store', 'as' => 'registration.store' )); Route::post('login', array( 'uses' => 'SessionController@store', 'as' => 'session.store' )); Route::get('logout', array( 'uses' => 'SessionController@destroy', 'as' => 'session.destroy' ));
Thanks in advance.
password/reset/{token}route to the correct method of the reminders controller? - Luceosroute('password.remind.postRemind')- Luceos