CallMeNP / lara-auth-bridge

[Unmaintained] Offers a simple API for the included custom phpBB authentication module. for phpBB(3.0,3.1) and laravel5
MIT License
16 stars 8 forks source link

CSRF Token mismatch #8

Closed ghost closed 8 years ago

ghost commented 9 years ago

Hey there, good work! Unfortunately on L5.1 when you the phpBB extension tries to POST the laravel website, it return CSRF token mismatch. The reason is the middlewere -\App\Http\Middleware\VerifyCsrfToken::class which is applied on every request. So that's why it won't work, unless the middleware is commented out of the app/Http/Kernel.php or if you modify the VerifyCsrfToken.php file. Can you please confirm that this is the reason and may be add this to the readme?

Bukashk0zzz commented 9 years ago

You are correct. Problem in VerifyCsrfToken.php file. I added to readme this. Thanks for issue.