Skip to content

Use boolean rather than filled for remember #328

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

Merged
merged 1 commit into from
Nov 20, 2021

Conversation

grantholle
Copy link
Contributor

Right now, it's only checking if remember is filled. For AJAX-based requests (such as with Inertia), passing remember: false still remembers their auth session.

Using boolean on a non-existent property also resolves to false.

Right now, it's only checking if `remember` is filled. For AJAX-based requests (such as with Inertia), passing `remember: false` still remembers their auth session.

If using `boolean` on a non-existent property also is false.
@taylorotwell taylorotwell merged commit 2e084ad into laravel:1.x Nov 20, 2021
@grantholle grantholle deleted the patch-1 branch November 20, 2021 23:17
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