The following template variables are available for use in email and form templates:
The following template functions are available for use in email and form templates:
user_manager.hash_password(password) # Returns hashed 'password' using the configured password hash # Config settings: USER_PASSWORD_HASH_MODE = 'passlib' # USER_PASSWORD_HASH = 'bcrypt' # USER_PASSWORD_SALT = SECRET_KEY
user_manager.verify_password(password, user.password) # Returns True if 'password' matches the user's 'hashed password' # Returns False otherwise.