-
Notifications
You must be signed in to change notification settings - Fork 435
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
Issues with Laravel 5.2 - Session #64
Comments
Hi, |
Thank you :) Regards, |
+1 very useful, thank you! |
|
Since Laravel encourage developers to write their routes in the In the same situation, second approach solved my problem. PS: I have removed |
Please note to Thank you, |
Laravel 5.2 removes important global middleware and introduces middleware groups.
This is great but also brought a "bug" to my app. All captchas were invalid since
\Illuminate\Session\Middleware\StartSession::class
wasn't used for the captcha image url.Workarounds:
Add
\Illuminate\Session\Middleware\StartSession::class
to$middleware
inKernel.php
or
Change line 26 in CaptchaServiceProvider to:
My question:
Is there any other way to fix this "issue" (if it is one).
Regards,
Andre
The text was updated successfully, but these errors were encountered: