Skip to content

[12.x]: fix CSRF token mismatch #56275 #6644

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

Closed
wants to merge 1 commit into from

Conversation

mjamilasfihani
Copy link

@mjamilasfihani mjamilasfihani commented Jul 21, 2025

based on issue #56275

the actual problem is Taylor was mistaken use Str::snake in dd473ea instead of Str::slug so that was the problem since the rests config is using :

'prefix' => env('REDIS_PREFIX', Str::slug((string) env('APP_NAME', 'laravel')).'-database-'), in database.php

and

'prefix' => env('CACHE_PREFIX', Str::slug((string) env('APP_NAME', 'laravel')).'-cache-'), in cache.php

@mjamilasfihani
Copy link
Author

ohh and here is the origin PR's came from #6636

@taylorotwell
Copy link
Member

This should be Str::snake

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