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