From 38c09153ac3af31866c73eaca45a169c4b218c6e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Mon, 24 Feb 2020 14:16:09 +0100 Subject: [PATCH] =?UTF-8?q?=E2=99=BB=20Fix=20deprecated=20method=20names?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/octoprint/server/util/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/octoprint/server/util/__init__.py b/src/octoprint/server/util/__init__.py index c4caabb46..5dff9e6f3 100644 --- a/src/octoprint/server/util/__init__.py +++ b/src/octoprint/server/util/__init__.py @@ -241,9 +241,9 @@ def get_user_for_authorization_header(header): if not octoprint.server.userManager.enabled: return None - user = octoprint.server.userManager.findUser(userid=name) + user = octoprint.server.userManager.find_user(userid=name) if settings().getBoolean(["accessControl", "checkBasicAuthenticationPassword"]) \ - and not octoprint.server.userManager.checkPassword(name, password): + and not octoprint.server.userManager.check_password(name, password): # password check enabled and password don't match return None