-
Notifications
You must be signed in to change notification settings - Fork 93
Closed
Labels
bugSomething isn't workingSomething isn't workingenhancementNew feature or requestNew feature or request
Description
Passwords should never ever be stored in plain.
Even encrypting the database does not prevent an admin from seeing the passwords.
Instead, you should use a proper password hashing algorithm such as scrypt to store irreversible password hashes and check if the hash is valid for a provided password in check_credentials.
See here for more information.
In the implementation, you only need to use hashPassword() when storing the password and then subsequently use verifyPassword(hash, password) instead of pwd == password.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingenhancementNew feature or requestNew feature or request