Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: Unnamed Auth routes returns an error when inside a route group #577

Merged
merged 21 commits into from
Jan 10, 2023
Merged
Changes from 1 commit
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
added PHPDoc explanation
  • Loading branch information
sammyskills committed Jan 6, 2023
commit 8b7185021f47d7715fa79330dd5656189547595e
6 changes: 6 additions & 0 deletions src/Config/Auth.php
Original file line number Diff line number Diff line change
Expand Up @@ -372,6 +372,12 @@ public function registerRedirect(): string
return $this->getUrl($url);
}

/**
* Accepts a string which can be an absolute URL or
* a named route or just a URI path.
* @param string $url
sammyskills marked this conversation as resolved.
Show resolved Hide resolved
* @return string
*/
protected function getUrl(string $url): string
sammyskills marked this conversation as resolved.
Show resolved Hide resolved
{
// To accommodate all url patterns
Expand Down