harakeke-2019 / EDAMAME

EDAMAME: Enspiral Dev Academy Management of Assessment Modules Emily
1 stars 3 forks source link

36 register route #85

Closed benlittlenz closed 5 years ago

benlittlenz commented 5 years ago

Changed method for authentication. Now using Don's suggested way with libsodium , jsonwebtoken and dotenv.

Register route now returns a unique token for user if user.name and user.surename does not exist in the database.

closes #36

benlittlenz commented 5 years ago

The wiki needs to be updated.

emilyparkes commented 5 years ago

@nzbenji can you please update the wiki then :)

benlittlenz commented 5 years ago

Made amendments to files