This commit is contained in:
Alexis Métaireau 2021-11-17 23:59:56 +01:00
parent 3fb25bdd7e
commit 0d843beeca

View file

@ -28,6 +28,7 @@ def need_auth(f):
project = Project.query.get(auth.username)
if project:
log(project.password + auth.password)
log("check password hash " + check_password_hash(project.password, auth.password))
else:
log("no project")
if project and check_password_hash(project.password, auth.password):