Skip to content

用户验证测试完成,戳进来看 #28

Description

@FF-Mercurial
  • 如果要做修改密码,注意密码要hash,使用我的passport配套的hash函数,e.g.: passport.hash password, 得到hash后的密码
  • 用户验证结果存放在req.user, 数据结构: {_id: ObjectId, username: String}, 若req.user为空则未登录
  • /signin已经可用,但仅仅可用,没有样式,供大家在登录后测试

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions