Login
Logic:
Retrieve the username and password from the template.
Hash the password using SHA-1 and the
hashlib
module.Compare the hashed password and username (NOT case-sensitive) against entries in
users.json
.Set the session cookie upon successful authentication.
Frontend:
The
login.html
template is sourced from Login from 13 and not custom-coded.
Last updated