Closed Ihabafia closed 5 years ago
Hi,
Something strange is going on, I have the following code which you mention it in the documentation:
Route::group('password-reset', function(){ Route::match(['get','post'], '/', 'AuthController@passwordReset')->name('password_reset'); Route::match(['get','post'], '{token}', 'AuthController@passwordResetForm')->name('password_reset_form'); });
it is working perfectly as a get: localhost/password-reset,
but when I submit the form to route('password_reset'), which it shows: /password-reset, it's giving me a CI error saying:
The action you have requested is not allowed.
Any Idea??
Sorry, I found out that it's related to the csrf_token.
Thank you,
Hi,
Something strange is going on, I have the following code which you mention it in the documentation:
it is working perfectly as a get: localhost/password-reset,
but when I submit the form to route('password_reset'), which it shows: /password-reset, it's giving me a CI error saying:
The action you have requested is not allowed.
Any Idea??