Skip to content
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

关于新添加的邮箱登录功能 #30

Open
HoGenapl opened this issue Jan 30, 2024 · 0 comments
Open

关于新添加的邮箱登录功能 #30

HoGenapl opened this issue Jan 30, 2024 · 0 comments

Comments

@HoGenapl
Copy link

第113行的登录这里判断是否是手机号或者邮箱可能不太严谨了,如果一个人的邮箱@字符前的长度超过11位(并且都是数字),那么他可能就登录不成功了
def login(user, password): is_phone = False if re.match(r'\d{11}', user): is_phone = True

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant