You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Submit a pull request for this project.
Fix this issue: #1052
# Why?
There is an issue when matching passwords. The previous logic only
compares the password length.
When the user enters 2 passwords with the same length but they are
different, it could still register.
# What?
I fixed the issue by adding the following logic
```
if(data.password !== data.confirmPassword) {
errorMsg.confirmPassword = t(Strings.password_not_identical_err);
return false;
}
```
# How?
It will be more strict after fixing the issue in the sign-up stage.
Co-authored-by: Kelly Chan <kelly@apitable.com>
2023-07-09.10.07.25.mov
描述Bug
当用户注册账号时两次密码不一致可以注册成功
重现步骤
重现行为的步骤:
期望行为
注册时两次密码应该为一致才允许用户注册。
屏幕截图
已经上传录屏。
电脑版(请填写以下信息):
版本号:
分支为develop分支
https://github.com/apitable/apitable/tree/develop
操作系统:Mac OS Big Sur
浏览器: Chrome
其他上下文
无
The text was updated successfully, but these errors were encountered: