node-elm icon indicating copy to clipboard operation
node-elm copied to clipboard

登录验证码问题

Open caizheyong opened this issue 3 years ago • 9 comments

哥们问一个问题,验证的时候发送验证码,账号和密码,一直显示验证码无效啥问题啊?

caizheyong avatar Apr 06 '22 09:04 caizheyong

image

caizheyong avatar Apr 06 '22 09:04 caizheyong

不知道,我也一直这样

Afhdh0126 avatar May 13 '22 07:05 Afhdh0126

张荣谋收到,谢谢!

longmore avatar May 13 '22 07:05 longmore

解决了吗,兄弟

Afhdh0126 avatar May 13 '22 08:05 Afhdh0126

张荣谋收到,谢谢!

解决了吗

Afhdh0126 avatar May 13 '22 08:05 Afhdh0126

你提交的时候需要在cookie里面携带上验证码就OK了,本人也是研究了好久在发现,注意跨域问题哈,谷歌浏览器回导致跨域带不上cookie @Afhdh0126 @caizheyong

1173688472 avatar Jun 09 '22 03:06 1173688472

收到,太感谢了!


该邮件从移动设备发送

--------------原始邮件-------------- 发件人:"1173688472 @.>; 发送时间:2022年6月9日(星期四) 中午11:01 收件人:"bailicangdu/node-elm" @.>; 抄送:"蔡哲永 @.>;"Mention @.>; 主题:Re: [bailicangdu/node-elm] 登录验证码问题 (Issue #263)

你提交的时候需要在cookie里面携带上验证码就OK了,本人也是研究了好久在发现,注意跨域问题哈,谷歌浏览器回导致跨域带不上cookie @Afhdh0126 @caizheyong

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>

caizheyong avatar Jun 09 '22 03:06 caizheyong

没有,登录验证一直显示验证码不正确!


该邮件从移动设备发送

--------------原始邮件-------------- 发件人:"Afhdh0126 @.>; 发送时间:2022年5月13日(星期五) 下午4:13 收件人:"bailicangdu/node-elm" @.>; 抄送:"蔡哲永 @.>;"Author @.>; 主题:Re: [bailicangdu/node-elm] 登录验证码问题 (Issue #263)

解决了吗,兄弟

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

caizheyong avatar Oct 11 '22 07:10 caizheyong

你提交的时候需要在cookie里面携带上验证码就OK了,本人也是研究了好久在发现,注意跨域问题哈,谷歌浏览器回导致跨域带不上cookie @Afhdh0126 @caizheyong

能详细说明一下如何设置 cookie 吗,是在代码里设置响应头还是修改浏览器的配置呢

jpf904652237 avatar Jun 15 '23 07:06 jpf904652237