Skip to content
Snippets Groups Projects
Commit fa9e127a authored by gnieto's avatar gnieto Committed by timo
Browse files

Store hashed passwords (#7)


Use if let instead of unwrap

Default to invalid password if could not calculate

Move hash password methdo and return Result

Rename get_password method

Default to empty password when no pwd is received

Store hashed passwords

Store passwords hashed with Argon2 and verify password with that stored
hash.

Co-authored-by: default avatarGuillem Nieto <gnieto.talo@gmail.com>
parent abcce95d
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment