I am new in laravel 5 , when i try to register or login [ auth/login or auth/register ] i get error like this
/home/digitalsoft/myapp/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php line 46:
i am using shared hosting
i removed 'Illuminate\Foundation\Http\Middleware\VerifyCsrfToken' from /app/Http/Resquests/Kernel.php
After doing this every time I submit a form I get a message which says redirecting to: /auth/login or /auth/register depending on where I came from with no success.
I get those errors if I am coding something and hit refresh will debuggin a login. I have to return to the login form every time or a similar error will show.
Try going back to the original form and try again.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community