mirror of
https://github.com/token2/fido2-manage.git
synced 2026-04-09 18:55:38 +00:00
Update gui.py
This commit is contained in:
2
gui.py
2
gui.py
@@ -293,7 +293,7 @@ def show_output_in_new_window(output, device_digit):
|
|||||||
elif "Credential ID: " in line and "User: " in line:
|
elif "Credential ID: " in line and "User: " in line:
|
||||||
credential_id = line.split("Credential ID: ")[1].split(",")[0].strip()
|
credential_id = line.split("Credential ID: ")[1].split(",")[0].strip()
|
||||||
user = line.split("User: ")[1].strip()
|
user = line.split("User: ")[1].strip()
|
||||||
user = user.replace(credential_id, "").strip()
|
user = re.sub(re.escape(credential_id), "", user).strip()
|
||||||
tree_new_window.insert("", tk.END, values=(current_domain, credential_id, user))
|
tree_new_window.insert("", tk.END, values=(current_domain, credential_id, user))
|
||||||
|
|
||||||
# Function to handle show value button click
|
# Function to handle show value button click
|
||||||
|
|||||||
Reference in New Issue
Block a user