framework
framework copied to clipboard
[Bug] Auth not forgetting session
Steps to reproduce:
- Create a register and a login form. Register should redirect to login (on success) while login should redirect to 'target' (on success). Login and register must have the filter
('before' => 'guest')that redirects to login. Target must have the('before' => 'auth')filter that also redirects to login. - Register.
- Login.
php artisan migrate:refresh- Refresh target and you should be redirected to login.
- Register again with the same inputs as 2.
- You'll be redirected to target skipping login.
Feel free to submit pull request on this repository.