Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

邮箱、手机号支持唯一性校验 #37

Open
IMBlues opened this issue Aug 23, 2021 · 3 comments
Open

邮箱、手机号支持唯一性校验 #37

IMBlues opened this issue Aug 23, 2021 · 3 comments
Assignees
Labels
Layer: api Api module related Layer: login Login module related Type: proposal Proposal

Comments

@IMBlues
Copy link
Contributor

IMBlues commented Aug 23, 2021

需要考虑存量数据可能存在重复问题,添加脚本检测更新?

可能涉及的改造内容:

  • 用户登录时支持更直接的手机号、邮箱登录(分 tab?)
  • 可以通过邮箱或者手机号重置密码

前提是完成登陆代码整合维护 (#5 )

@wklken
Copy link
Collaborator

wklken commented Nov 14, 2022

手机号邮箱改成非必填之后, 唯一性校验的逻辑也会受影响, 需要关注

@Shutulee
Copy link
Collaborator

Shutulee commented Mar 6, 2023

相关联issue:
1、【已评审】前端有关于用户信息的字段信息需要支持可见、可编辑、脱敏展示设置 #769 (新方案已更新)
2、用户信息中手机号和邮箱应改为非必填 #440
3、[重要] 多租户及多渠道登录需求分析 #889 (已评审)
————————————————————————————————
针对手机号/邮箱唯一性与必填的逻辑,之前出过相关的方案,并进行了评审。多租户纳入支持后,唯一性校验与必填逻辑需要基于前置方案进行相应调整。
整体字段配置方案会放在多租户之后进行。唯一性校验逻辑可以先做简单支持,即:
单租户内,一个手机号/邮箱仅能绑定一个蓝鲸账号(bk_username).

@Canway-shiisa
Copy link
Contributor

Canway-shiisa commented Jun 5, 2023

这里 唯一性问题 需要考虑场景:
a. 有些企业的管理用户需要使用多个账号(都用这个用户的个人邮箱作为邮箱信息)
b. 也有企业会使用多个公共账号,并且这些个公共账号都绑定同一个公共邮箱

目前这种场景就存在 忘记密码发不出邮件的情况

@Xmandon @nannan00

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Layer: api Api module related Layer: login Login module related Type: proposal Proposal
Projects
None yet
Development

No branches or pull requests

5 participants