diff --git a/stubs/livewire-functional/resources/views/livewire/pages/auth/login.blade.php b/stubs/livewire-functional/resources/views/livewire/pages/auth/login.blade.php index 108de7f4d..598f24b8d 100644 --- a/stubs/livewire-functional/resources/views/livewire/pages/auth/login.blade.php +++ b/stubs/livewire-functional/resources/views/livewire/pages/auth/login.blade.php @@ -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([ diff --git a/stubs/livewire/resources/views/livewire/pages/auth/login.blade.php b/stubs/livewire/resources/views/livewire/pages/auth/login.blade.php index 045f51287..776c93da5 100644 --- a/stubs/livewire/resources/views/livewire/pages/auth/login.blade.php +++ b/stubs/livewire/resources/views/livewire/pages/auth/login.blade.php @@ -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([