-
Notifications
You must be signed in to change notification settings - Fork 69
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
需支持忘记密码可选择短信、微信方式。 #631
Comments
短信的优先实现 |
|
POST
|
4.这里 是想把reset/send_email/接口和通过短信验证的接口整合成一个?感觉不太合适 |
|
1 没问题 正确的逻辑:
另外, 补充验证码处理逻辑(什么情况下更新错误次数等等) |
|
error_time to error_count |
captcha_token = hash() |
需要注意安全问题:
|
@wklken @nannan00 @Canway-shiisa |
手机号是绑定关系, 目前不是全局唯一的, 如果一个手机绑定多个账号, 目前的登录逻辑是会报错的 所以
@Shutulee @Zoeyzhou11 需要产品侧考虑下这里的交互, 可能要做修改 |
1、未来多渠道登录会约定手机号在单目录下全局唯一。目前只能先给临时方案。 临时方案: |
@neronkl 按照上面的逻辑处理吧 |
好的,请问方案是否还有其他问题?@wklken @nannan00 @Canway-shiisa |
需要描述 verification_code生成的频率控制方案,比如1分钟内最多生成一个,1分钟后再次点击的话,应该如何处理,1天最多点击多少次,不能无限制的发送验证码的短信 |
频率限制方案: |
Co-authored-by: huacao <[email protected]>
需求背景
![image](https://user-images.githubusercontent.com/110165979/197445480-f5902bc3-b155-461d-b6bc-6dde2d860a5d.png)
当前修改密码的方式为邮箱修改,但是部分企业尚未使用企业邮箱,用户信息中填充的邮箱非真实邮箱。因此需要支持短信/微信修改密码
需求描述
1、支持短信重置
2、支持微信扫码重置
![image](https://user-images.githubusercontent.com/110165979/185878996-faa1813a-25df-4ae5-90dc-f699eb993acf.png)
The text was updated successfully, but these errors were encountered: