Skip to content
This repository has been archived by the owner on Aug 5, 2019. It is now read-only.

User DB displays hashed passwords to logged in user. #5

Open
AlexKDawson opened this issue May 5, 2017 · 4 comments
Open

User DB displays hashed passwords to logged in user. #5

AlexKDawson opened this issue May 5, 2017 · 4 comments

Comments

@AlexKDawson
Copy link
Owner

Need to separate the user info db and the auth db, so users can't access their hashed passwords. Not a concern for development, but should fix before deployment.

@DomThePorcupine
Copy link
Collaborator

Perhaps consider a virtual field? I'm on mobile and can link later but check out Mongo's virtual field stuff I think you could use it instead of splitting the database up

@AlexKDawson
Copy link
Owner Author

Huh, that actually looks perfect. Thanks! I'll probably do it in a few days.

Also sorry if your getting notifications for these, just tryna keep track of bugs, forgot you were on here :P

@DomThePorcupine
Copy link
Collaborator

No problem, I have sample code for how I did it if you need!

@AlexKDawson
Copy link
Owner Author

I'll lyk, I found the docs and it seems pretty straight forward. Thanks

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants