fix reset password

wrong method in userController was executed to get user
This commit is contained in:
Tim Gröger 2023-05-05 10:00:49 +02:00
parent 7eb30b662f
commit 193ffeff9d
1 changed files with 1 additions and 1 deletions

View File

@ -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: