Skip to content

Commit a2de486

Browse files
authored
Merge pull request #30 from Dipesh79/main
fix: redirect to current panel from menu login
2 parents ed425d4 + 5358be4 commit a2de486

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)