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.
url.intended
1 parent 6ffac24 commit 9a884e4Copy full SHA for 9a884e4
src/FilamentDevelopersLogin.php
@@ -50,6 +50,6 @@ public function login(Panel $panel, FilamentDeveloperLoginsPlugin $plugin, strin
50
session()->regenerate();
51
52
return redirect()
53
- ->to($plugin->getRedirectTo() ?? $panel->getUrl());
+ ->to(session('url.intended') ?? $plugin->getRedirectTo() ?? $panel->getUrl());
54
}
55
0 commit comments