825 Star 2.8K Fork 1.3K

Discuz / DiscuzX

Merged
!343 修复 两个验证码同时出现时,上一个验证码失效的问题

popcorner:patch-seccodedup Discuz:master

popcorner Created on: 2020-01-14 22:19

之前Discuz的验证码一直存在一个问题:2个验证码不能同时出现,如果同时出现的话,后一个验证码的出现就会导致前一个验证码的失效。仔细检查以后发现验证码的相关信息是以cookie存储在浏览器当中的。
本次修改将验证码的cookie的key从一种变为多种,因此多个验证码同时出现的时候就不会互相冲突了。
感谢@老周部落

8 comments, 5 participants 134400 3dming 1578919100 1773794 laozhoubuluo 1594507411 5247157 oldhuhu 1578983196

Show action logs Hide action logs
DiscuzX merged Pull Request 2020-01-21 20:46
DiscuzX check passed 2020-01-21 20:43
popcorner push code 2020-01-21 20:06
popcorner push code 2020-01-21 19:29
popcorner assigned reviewer 湖中沉 2020-01-14 22:19
popcorner assigned reviewer oldhuhu 2020-01-14 22:19
popcorner assigned reviewer monkeye 2020-01-14 22:19
popcorner assigned reviewer Discuz! 2020-01-14 22:19
popcorner assigned reviewer LooTan 2020-01-14 22:19
popcorner assigned reviewer comsenz-service 2020-01-14 22:19
popcorner assigned reviewer DiscuzX 2020-01-14 22:19
PHP
1
https://gitee.com/Discuz/DiscuzX.git
git@gitee.com:Discuz/DiscuzX.git
Discuz
DiscuzX
DiscuzX

Search

102255 3a0e046c 1850385 102255 7aaa926c 1850385