~sircmpwn/meta.sr.ht

9f731b151e0df5715f0fd2c0d41f2cfeddfb53d3 — Drew DeVault 3 months ago bb61ed6 0.56.14
auth: import validate_password

This fixes password resets, which I forgot were still handled by Python.
1 files changed, 1 insertions(+), 0 deletions(-)

M metasrht/blueprints/auth.py
M metasrht/blueprints/auth.py => metasrht/blueprints/auth.py +1 -0
@@ 6,6 6,7 @@ from metasrht.audit import audit_log
from metasrht.auth import allow_registration, user_valid, prepare_user
from metasrht.auth import is_external_auth, set_user_password, set_user_email
from metasrht.auth.builtin import hash_password, check_password
from metasrht.auth_validation import validate_password
from metasrht.blueprints.security import metrics as security_metrics
from metasrht.email import send_email
from metasrht.totp import totp