Skip to content

Commit

Permalink
Fix protection redirect URLs when they contain query parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
duncanmcclean committed Feb 19, 2024
1 parent 76bd972 commit 3582cd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Auth/Protect/Protection.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public function protect()

protected function url()
{
return URL::tidy(request()->url());
return URL::tidy(request()->fullUrl());
}

protected function log($message)
Expand Down

0 comments on commit 3582cd5

Please sign in to comment.