問題タブ [laravel-route]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
php - Laravel Redirect to Login page after Post Request
I am inserting a form data into a database, after successful submission I want to redirect to the leads page.
HTML Form:
Route:
Controller:
But after successful submission, it redirects to the login page instead of the leads page and when I logged in again, it directly redirects me to the leads page.
I don't know where I am going wrong. I would appreciate any help in this regard.