From dedccf5f95160c17f3479c7800f1196d1b250718 Mon Sep 17 00:00:00 2001 From: suti7yk5032 Date: Sat, 8 Jun 2024 22:07:30 +0900 Subject: [PATCH] =?UTF-8?q?=E3=83=80=E3=83=9F=E3=83=BC=E3=83=9A=E3=83=BC?= =?UTF-8?q?=E3=82=B8=E3=81=B8=E3=81=AE=E8=AA=98=E5=B0=8E=E3=82=92=E5=89=8A?= =?UTF-8?q?=E9=99=A4?= 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 ac27723..2d1453c 100644 --- a/dislocker_auth.py +++ b/dislocker_auth.py @@ -51,9 +51,9 @@ def verify(): if auth.check(pc_number, password) == 0: auth.delete(pc_number) - return render_template("verify.html"), jsonify({'message': 'ok'}), 200 + return jsonify({'message': 'ok'}), 200 else: - return render_template("verify.html"), jsonify({'message': 'damedesu'}), 401 + return jsonify({'message': 'damedesu'}), 401 if __name__ == '__main__': app.run(host="0.0.0.0", port=5000, debug=True) \ No newline at end of file