From 11c6842c0c0852a0d993faf679dfdca4df8bb053 Mon Sep 17 00:00:00 2001 From: AlexTheGeek <28763288+AlexTheGeek@users.noreply.github.com> Date: Tue, 30 Jan 2024 09:29:25 +0100 Subject: [PATCH] alors ? --- main.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main.py b/main.py index 86903b9..9ab7af3 100644 --- a/main.py +++ b/main.py @@ -445,7 +445,8 @@ def check_auth(): @login_required def check_auth_vnc(): uri = request.headers.get('X-Original-URI') - print(uri) + print("here: "+request.headers) + print("uri: "+uri) part_after_equal = uri.split('=', 1)[1] token_url = part_after_equal.split('&', 1)[0] vm = VM.query.filter_by(vncurl=token_url).first()