Commit ba431ec1 authored by Sorrel Harriet's avatar Sorrel Harriet
Browse files

updating lab 8 readme

parent c608dd9f
# Catflucks Application
Here is a newer version of catflucks with added login feature. It is only partially implemented, but enough to give you the general idea of how to perform password checking on hashed passwords.
+ To login, you need to create an account **from the mongo shell** first, for which you know the unhashed password!
+ For testing purposes, here is an account to insert, which has the password, \`**password'**:
... "joined": new Date(),
... "username":"tester",
... "name":{"last":"Harriet","first":"Sorrel"},
... "password":"$2b$12$DXvBoOurVX7GnCr35P.iZ.DG2cH.qQarJL7m9xhhRvrqkDsE1/aFC",
... "is_admin":1,
... "email":""
... })
+ You can change the name and email etc, but don't change the password!
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment