dfirebaugh / hack-points

A bounty system where users can create and complete tasks to win points.
MIT License
1 stars 3 forks source link

add passport strategy for username and password #3

Closed dfirebaugh closed 6 years ago

dfirebaugh commented 6 years ago

Use passportjs to create a new strategy for username and password http://www.passportjs.org/docs/username-password/

Andras-Simon commented 6 years ago

@dfirebaugh May I take this one?

WrightKD commented 6 years ago

I can start working on this issue!

dfirebaugh commented 6 years ago

go for it!

Andras-Simon commented 6 years ago

@dfirebaugh Should I use username/password for authentication, or email/password? I am asking because the user model has no username property but it has email already.

dfirebaugh commented 6 years ago

@Andras-Simon go for the email/password option

dfirebaugh commented 6 years ago

@Andras-Simon Great work!