mirror of
https://github.com/itsdave-de/msp_remoteadmin.git
synced 2025-05-06 20:35:12 +02:00
add debug
This commit is contained in:
parent
170f8ebe63
commit
3bb96c90e9
@ -30,7 +30,8 @@ def create_session(doc, protocol):
|
|||||||
token = None
|
token = None
|
||||||
if token:
|
if token:
|
||||||
# Get credentials from IT User Account
|
# Get credentials from IT User Account
|
||||||
acc_doc = frappe.get_doc('IT User Account', doc.link)
|
acc_doc = frappe.get_doc('IT User Account', doc.title)
|
||||||
|
print(acc_doc)
|
||||||
username = acc_doc.username
|
username = acc_doc.username
|
||||||
password = acc_doc.get_password('password')
|
password = acc_doc.get_password('password')
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user