mirror of
https://github.com/PR0M3TH3AN/SeedPass.git
synced 2025-09-09 15:58:48 +00:00
Add terminal QR code display for 2FA entries
This commit is contained in:
@@ -979,6 +979,7 @@ class PasswordManager:
|
||||
)
|
||||
print(colored("Add this URI to your authenticator app:", "cyan"))
|
||||
print(colored(uri, "yellow"))
|
||||
TotpManager.print_qr_code(uri)
|
||||
print(colored(f"Secret: {secret}\n", "cyan"))
|
||||
try:
|
||||
self.sync_vault()
|
||||
@@ -1016,6 +1017,7 @@ class PasswordManager:
|
||||
"green",
|
||||
)
|
||||
)
|
||||
TotpManager.print_qr_code(uri)
|
||||
try:
|
||||
self.sync_vault()
|
||||
except Exception as nostr_error:
|
||||
|
Reference in New Issue
Block a user