My local code and online code are exactly the same
Both local and server use centos7.2
My environment is nginx fpm
Why does the verification code not change when I refresh the login page locally (this is my expected result), but the verification code changes every time I refresh the login page when I upload it to the server, causing me to The verification code is wrong when logging in.
I suspect it is a server problem, but I really have no clue. Has anyone encountered similar problems? Thanks!
My local code and online code are exactly the same
Both local and server use centos7.2
My environment is nginx fpm
Why does the verification code not change when I refresh the login page locally (this is my expected result), but the verification code changes every time I refresh the login page when I upload it to the server, causing me to The verification code is wrong when logging in.
I suspect it is a server problem, but I really have no clue. Has anyone encountered similar problems? Thanks!
If my judgment is not wrong, there should be a problem with your Session. Check your logs to see if any errors occurred
There is a bug in the verification code of yii2. This is already a very clear problem