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

无法登陆 #39

Closed
cheekahao opened this issue Jun 30, 2016 · 1 comment
Closed

无法登陆 #39

cheekahao opened this issue Jun 30, 2016 · 1 comment

Comments

@cheekahao
Copy link

按照文档插入数据,登陆时,提示非法参数,调试后发现routes/admin.js中validator.isUserName(userName)为false。将其注释掉后,返回用户名密码错误,检查数据库,中"username" 为"test", "password"为"581fbebb8a5f5827",是哪里错了吗?手动叫password改为000000了无法登陆。能告诉密码在数据库中是以什么加密方式存储的吗?为什么无法登陆?

@doramart
Copy link
Owner

doramart commented Jul 1, 2016

密码应该不能为000000这么简单,应该是字母和数字组合

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