Skip to content

Commit 5358be4

Browse files
authored
fix: redirect to current panel from menu login
1 parent ed425d4 commit 5358be4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Livewire/MenuLogins.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,6 @@ public function loginAs(string $credentials): RedirectResponse | Redirector
3838
abort(403);
3939
}
4040

41-
return FilamentDevelopersLogin::login(Filament::getPanel(), $this->plugin, $credentials);
41+
return FilamentDevelopersLogin::login(Filament::getCurrentPanel(), $this->plugin, $credentials);
4242
}
4343
}

0 commit comments

Comments
 (0)