mirror of
https://github.com/PR0M3TH3AN/SeedPass.git
synced 2025-09-09 15:58:48 +00:00
Merge pull request #272 from PR0M3TH3AN/codex/update-label-for-show-qr-option
Clarify seed phrase QR prompt
This commit is contained in:
@@ -1099,7 +1099,7 @@ class PasswordManager:
|
|||||||
print(colored(f"Notes: {notes}", "cyan"))
|
print(colored(f"Notes: {notes}", "cyan"))
|
||||||
print(colored("Seed Phrase:", "cyan"))
|
print(colored("Seed Phrase:", "cyan"))
|
||||||
print(colored(phrase, "yellow"))
|
print(colored(phrase, "yellow"))
|
||||||
if confirm_action("Show QR? (Y/N): "):
|
if confirm_action("Show Compact Seed QR? (Y/N): "):
|
||||||
from password_manager.seedqr import encode_seedqr
|
from password_manager.seedqr import encode_seedqr
|
||||||
|
|
||||||
TotpManager.print_qr_code(encode_seedqr(phrase))
|
TotpManager.print_qr_code(encode_seedqr(phrase))
|
||||||
@@ -1328,7 +1328,7 @@ class PasswordManager:
|
|||||||
)
|
)
|
||||||
else:
|
else:
|
||||||
print(colored(phrase, "yellow"))
|
print(colored(phrase, "yellow"))
|
||||||
if confirm_action("Show QR? (Y/N): "):
|
if confirm_action("Show Compact Seed QR? (Y/N): "):
|
||||||
from password_manager.seedqr import encode_seedqr
|
from password_manager.seedqr import encode_seedqr
|
||||||
|
|
||||||
TotpManager.print_qr_code(encode_seedqr(phrase))
|
TotpManager.print_qr_code(encode_seedqr(phrase))
|
||||||
|
Reference in New Issue
Block a user