From 665b53c28d922ac2390123cb865c44062b6ffe8e Mon Sep 17 00:00:00 2001 From: suti7yk5032 Date: Sun, 25 Aug 2024 23:58:53 +0900 Subject: [PATCH] =?UTF-8?q?register=E3=81=AE=E3=83=AF=E3=83=B3=E3=82=BF?= =?UTF-8?q?=E3=82=A4=E3=83=A0=E3=83=91=E3=82=B9=E3=83=AF=E3=83=BC=E3=83=89?= =?UTF-8?q?=E3=82=92str=E5=9E=8B=E3=81=AB=E6=8C=87=E5=AE=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dislocker_auth.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dislocker_auth.py b/dislocker_auth.py index b2f10ba..a3f227a 100644 --- a/dislocker_auth.py +++ b/dislocker_auth.py @@ -205,7 +205,7 @@ auth = Auth(server_config["db"]["host"], server_config["db"]["db_name"], server_ def register(): pc_number = int(request.json.get('pc_number')) pc_uuid = str(request.json.get('pc_uuid')) - onetime_password = int(request.json.get('onetime')) + onetime_password = str(request.json.get('onetime')) if os.path.isfile(onetime_config_path): with open(onetime_config_path, "r") as r: