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

Update outdated instructions to edit Laravel Passport's route prefix #6

Merged
merged 2 commits into from
Feb 6, 2024
Merged

Update outdated instructions to edit Laravel Passport's route prefix #6

merged 2 commits into from
Feb 6, 2024

Conversation

selfsimilar
Copy link
Contributor

The SocialStream doc page on Laravel Passport has directions on how to alter Passport's routes, but those directions are out of date and no longer work — the static function routes() no longer exists in the Passport class.

The easiest way to update the path prefix is to edit the config file, but this is unfortunately not covered in the official Passport documentation.

Directions were out of date for editing Laravel Passports route prefix.
fix github code block language hint
@selfsimilar
Copy link
Contributor Author

Breaking change due to PR "Refactor routes to dedicated file" (July 2021) mentioned in upgrade guide.

@joelbutcher joelbutcher merged commit a188032 into joelbutcher:main Feb 6, 2024
1 check passed
@joelbutcher
Copy link
Owner

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants