From a0056ef2c4494df9de2967fe3eaa17987187d72e Mon Sep 17 00:00:00 2001 From: suti7yk5032 Date: Sat, 5 Oct 2024 10:09:06 +0900 Subject: [PATCH] =?UTF-8?q?=E7=99=BB=E9=8C=B2=E6=99=82=E3=81=AE=E3=82=B9?= =?UTF-8?q?=E3=83=86=E3=83=BC=E3=82=BF=E3=82=B9=E3=82=B3=E3=83=BC=E3=83=89?= =?UTF-8?q?=E3=82=92=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dislocker_auth.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dislocker_auth.py b/dislocker_auth.py index 04a47e3..e329fef 100644 --- a/dislocker_auth.py +++ b/dislocker_auth.py @@ -371,9 +371,9 @@ def register(): return jsonify({'message': 'ok', 'pc_token': pc_token, 'master_password': master_password, 'master_password_hash': master_password_hash}), 200 elif register_result["result"] == 1: if register_result["about"] == "exist": - return jsonify({'message': 'exist'}), 401 + return jsonify({'message': 'exist'}), 400 else: - return jsonify({'message': 'damedesu'}), 401 + return jsonify({'message': 'damedesu'}), 500 else: return jsonify({'message': 'damedesu'}), 401