We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9870464 commit 8378071Copy full SHA for 8378071
src/Livewire/MenuLogins.php
@@ -27,9 +27,9 @@ public function render(): View
27
]);
28
}
29
30
- protected function getCurrentUser(): string
+ protected function getCurrentUser(): ?string
31
{
32
- return Filament::auth()->user()->{$this->plugin->getColumn()};
+ return Filament::auth()->user()?->{$this->plugin->getColumn()};
33
34
35
public function loginAs(string $credentials): RedirectResponse | Redirector
0 commit comments