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

Add missing CSRF cookie route prefix to config file #521

Closed
wants to merge 2 commits into from

Conversation

hsamshod
Copy link

Sanctum's sanctum/csrf-cookie route prefix (by default 'sanctum') can be changed (src/SanctumServiceProvider.php:72), but this config is not present in config.php.

This PR adds this setting to config.php, so developers can find how to change it without Googling 😄

@taylorotwell
Copy link
Member

You can define this in your own environment file. I don't think it needs to be changed often enough to clutter the configuration file with it.

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