making a password-only auth with bcrypt and mongoose
- by user3081123
I want to create service that let you login only with password.
You type a password and if this password exists - you are logged in and if it's not - username is generated and password is encrypted.
I'm having some misunderstandings and hope someone would help me to show where I'm mistaken.
I guess, it would look somewhat like this in agularjs
…