Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Livewire 'remember me' flow for login doesn't remember #325

Merged
merged 1 commit into from
Oct 24, 2023

Conversation

ebosveld
Copy link
Contributor

@ebosveld ebosveld commented Oct 24, 2023

Problem:
After creating a new Laravel project with the Breeze Livewire starter kit, I noticed my remember_token would never be stored, meaning you'd never stay logged in.

After debugging it seems that for this specific flavour of templates there is a typo in the login.blade.php. The $this->only function in the call to auth()->attempt() get's closed after $this->remember instead of before, which means it's filtered out.

@taylorotwell taylorotwell merged commit 72541b1 into laravel:1.x Oct 24, 2023
16 checks passed
@ebosveld ebosveld deleted the fix/livewire-remember-me-flow branch October 25, 2023 12:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants