mirror of
https://github.com/itsdave-de/msp_remoteadmin.git
synced 2025-05-06 20:35:12 +02:00
debug
This commit is contained in:
parent
f966cfaa77
commit
7cbe7d92b4
@ -22,6 +22,7 @@ def create_session(doc, protocol):
|
||||
'password': guaca_config.get_password('guacamole_pass')
|
||||
}
|
||||
response = requests.post(guacamole_url, data=auth)
|
||||
print(f"Response CODE: {response.status_code}\nResponde Content: {response.text}")
|
||||
if response.status_code == 200:
|
||||
try:
|
||||
token = response.json()['authToken']
|
||||
|
Loading…
x
Reference in New Issue
Block a user