Skip to content

Commit

Permalink
fix: Livewire 'remember me' flow for Login (#325)
Browse files Browse the repository at this point in the history
  • Loading branch information
ebosveld authored Oct 24, 2023
1 parent 8721831 commit 72541b1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
]);
}
if (! auth()->attempt($this->only(['email', 'password'], $this->remember))) {
if (! auth()->attempt($this->only(['email', 'password']), $this->remember)) {
RateLimiter::hit($throttleKey);
throw ValidationException::withMessages([
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public function login(): void
$this->ensureIsNotRateLimited();
if (! auth()->attempt($this->only(['email', 'password'], $this->remember))) {
if (! auth()->attempt($this->only(['email', 'password']), $this->remember)) {
RateLimiter::hit($this->throttleKey());
throw ValidationException::withMessages([
Expand Down

0 comments on commit 72541b1

Please sign in to comment.