© 2026 Hedgehog Software, LLC
user
consumer
return $panel ->id('app') ->path('app') ->login(**AppLogin::class**)
AppLogin
Filament\Pages\Auth\Login.php
public function authenticate(): ?LoginResponse { try { $this->rateLimit(5); } catch (TooManyRequestsException $exception) { // Catch implementation } $data = $this->form->getState(); if (! Filament::auth()->attempt($this->getCredentialsFromFormData($data), $data['remember'] ?? false)) { throw ValidationException::withMessages([ 'data.email' => __('filament-panels::pages/auth/login.messages.failed'), ]); } session()->regenerate(); return app(LoginResponse::class); }