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

一直显示密码不匹配 #3

Open
pfeducode opened this issue Jan 5, 2023 · 5 comments
Open

一直显示密码不匹配 #3

pfeducode opened this issue Jan 5, 2023 · 5 comments

Comments

@pfeducode
Copy link

我用postman测试,明明和数据库中的密码一样,结果显示密码不匹配
image
image

@pfeducode
Copy link
Author

pfeducode commented Jan 5, 2023

能否给出postman测试例子,貌似数据库保存的hash值,所以有问题

@5icoder
Copy link

5icoder commented Jan 10, 2023

能否给出postman测试例子,貌似数据库保存的hash值,所以有问题

删除这行数据试一下呢,用户密码经过bycrptjs的加密后数据库中存储的值肯定不是明文的了。

@pfeducode
Copy link
Author

能否给出postman测试例子,貌似数据库保存的hash值,所以有问题

删除这行数据试一下呢,用户密码经过bycrptjs的加密后数据库中存储的值肯定不是明文的了。

使用postman注册也显示错误,怎么添加数据呢
image
image

@pfeducode
Copy link
Author

能否给出postman测试例子,貌似数据库保存的hash值,所以有问题

删除这行数据试一下呢,用户密码经过bycrptjs的加密后数据库中存储的值肯定不是明文的了。

使用postman注册也显示错误,怎么添加数据呢 image image

是因为数据库id没有设置为自动增长

@pfeducode
Copy link
Author

最好能把数据库文件分享一下就好了

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

2 participants