mirror of
https://github.com/spiral-project/ihatemoney.git
synced 2025-05-05 20:51:49 +02:00
debug
This commit is contained in:
parent
3fb25bdd7e
commit
0d843beeca
1 changed files with 1 additions and 0 deletions
|
@ -28,6 +28,7 @@ def need_auth(f):
|
||||||
project = Project.query.get(auth.username)
|
project = Project.query.get(auth.username)
|
||||||
if project:
|
if project:
|
||||||
log(project.password + auth.password)
|
log(project.password + auth.password)
|
||||||
|
log("check password hash " + check_password_hash(project.password, auth.password))
|
||||||
else:
|
else:
|
||||||
log("no project")
|
log("no project")
|
||||||
if project and check_password_hash(project.password, auth.password):
|
if project and check_password_hash(project.password, auth.password):
|
||||||
|
|
Loading…
Reference in a new issue