From 193ffeff9ded6235762da1b49fcf6713b4c74984 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20Gr=C3=B6ger?= Date: Fri, 5 May 2023 10:00:49 +0200 Subject: [PATCH] fix reset password wrong method in userController was executed to get user --- flaschengeist/plugins/auth/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flaschengeist/plugins/auth/__init__.py b/flaschengeist/plugins/auth/__init__.py index 7f06302..9d0b073 100644 --- a/flaschengeist/plugins/auth/__init__.py +++ b/flaschengeist/plugins/auth/__init__.py @@ -165,7 +165,7 @@ def get_assocd_user(token, current_session, **kwargs): def reset_password(): data = request.get_json() if "userid" in data: - user = userController.find_user(data["userid"]) + user = userController.get_user(data["userid"]) if user: userController.request_reset(user) elif "password" in data and "token" in data: