I am trying to use the Laravel inbuilt password reset in my app where Laravel 5.1 acts as the backend api and Angular 1.3 for all front-end views. I have set-up the Password reset as per the docs where I have done the following:
1) Create the table
php artisan migrate
2) Added this to the route:
Route::post('password/email', 'Auth/PasswordController@postEmail');
Route::post('password/reset', 'Auth/PasswordController@postReset');
Since I will be using Angular to display frontend forms, I did not add the views for GET
. I havent done any changes to the Auth/PasswordController.php
and right now its just like the way it came. But when I test the above URL from Postman POST
request, I am getting the error:
View [emails.password] not found.
How can I let Angular Handle the views and not have Laravel worry about the view? Do I have to have Laravel View for the inbuilt password reset to work? How do I approach this?