input(Fortify::username()))->first(); if (! $user || ! Hash::check((string) $request->input('password'), $user->password)) { return null; } return $user->disabled_at === null ? $user : null; } }