Login
Logic:
Retrieve the username and password from the template.
Hash the password using
Argon2idwith the module argon2 on default parametersCompare the hashed password and username (NOT case-sensitive) against entries in
users.json.Set the session cookie upon successful authentication.
Frontend:
The
login.htmltemplate show a banner with the instruction to contact an already registered family member if no account. Will show errors messages if User does not exist or Wrong password.
Last updated