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
bfc46e1413
commit
894335f2c5
@ -32,8 +32,8 @@ def create_session(doc, protocol):
|
||||
print(f"Token: {token}")
|
||||
# Get credentials from IT User Account
|
||||
print(f"Values from form: {doc}")
|
||||
print(f"Type: {type(doc.link)}")
|
||||
acc_doc = frappe.get_doc('IT User Account', doc.link)
|
||||
print(f"Type: {type(doc.get('link'))}")
|
||||
acc_doc = frappe.get_doc('IT User Account', doc.get('link'))
|
||||
print(f"Print doc values: {acc_doc}")
|
||||
username = acc_doc.username
|
||||
password = acc_doc.get_password('password')
|
||||
|
Loading…
x
Reference in New Issue
Block a user