From 5f25b810046200140564c9b38dc0f58fc0679146 Mon Sep 17 00:00:00 2001 From: Ozzieisaacs Date: Mon, 29 Jul 2019 21:43:00 +0200 Subject: [PATCH] Final fix for #983 --- cps/web.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cps/web.py b/cps/web.py index 687c144a..15f0f976 100644 --- a/cps/web.py +++ b/cps/web.py @@ -133,7 +133,7 @@ def load_user_from_header(header_val): except TypeError: pass user = ub.session.query(ub.User).filter(func.lower(ub.User.nickname) == basic_username.lower()).first() - if user and check_password_hash(user.password, basic_password): + if user and check_password_hash(str(user.password), basic_password): return user return