-
Notifications
You must be signed in to change notification settings - Fork 35
Open
Labels
bugVerified bug by the Nova teamVerified bug by the Nova team
Description
- Laravel Version: 10.40.0
- Nova Version: 4.34.3
- PHP Version: 8.2
Description:
If the login page remains open longer than the session lifetime, submitting the form results in a 419 status code. This response is not handled by the frontend, so the user receives no feedback or indication of what went wrong or what action they should take.
Detailed steps to reproduce the issue on a fresh Nova installation:
Scenario
- Set SESSION_LIFETIME=1 in .env
php artisan config:clear
- Open the login page or the forgot password page
- Wait 1 minute
- Submit the form
Result
- Illuminate\Session\TokenMismatchException is thrown
- The frontend does not notify the user — the form remains open with no errors shown
Expected Result
- Illuminate\Session\TokenMismatchException is thrown
- The frontend catches the 419 status code
- The frontend (optionally) reloads the page to obtain a new CSRF token and displays a validation error like: "Your session has expired. Please reload the page and try again."
Metadata
Metadata
Assignees
Labels
bugVerified bug by the Nova teamVerified bug by the Nova team