Comments (6)
Hi,
The first method is most appropriate. I'm using in this way.
Thanks.
from captcha.
Thank you :)
Could you add a note to README.md
, please?
Regards,
Andre
from captcha.
+1 very useful, thank you!
from captcha.
README.md
add to note.
3e7f068
from captcha.
Since Laravel encourage developers to write their routes in the web
middleware (The Default Routes File), set another StartSession in default middleware will clear all session values that has been set by other classes.
In the same situation, second approach solved my problem.
PS: I have removed \Illuminate\Session\Middleware\StartSession::class
from web
middleware and added it to the default middleware array, it works fine but still I believe second approach is better.
from captcha.
Please note to README.md
that if using web
middleware on route.php
must NOT ADD \Illuminate\Session\Middleware\StartSession::class
to protected $middleware
(for Laravel 5.2+)
Thank you,
Teeranai
from captcha.
Related Issues (20)
- security issue with captcha_api rule HOT 1
- Multiple captCHA codes for one page HOT 1
- Getting status code 404, not found on one of UAT server. HOT 1
- Can you please update it for Laravel 10 HOT 3
- Suggestion: implement throttling to prevent DoS
- Getting error 500 after updating to Laravel 10
- margin top issue
- Captcha img not refreshing onclick()
- Accessibility issue on a web page
- libpng warning: iCCP: known incorrect sRGB profile
- captcha-jwt
- Support for 8.2 HOT 1
- Can math add subtraction, multiplication, and division
- Support for laravel 10
- Captcha Value always gives output wrong.
- The captcha is not display image on cpanel laravel 10
- Captcha Value always gives invalid value HOT 1
- Are there plans to upgrade intervention/image to version 3.x?
- Request for Laravel 11 Support HOT 2
- An error will be prompted under window
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from captcha.