This commit is contained in:
wh1te909 2021-02-23 08:27:22 +00:00
parent cd1cb186be
commit 85d010615d
1 changed files with 1 additions and 3 deletions

View File

@ -26,9 +26,7 @@ class Command(BaseCommand):
url = pyotp.totp.TOTP(code).provisioning_uri(username, issuer_name=domain)
subprocess.run(f'qr "{url}"', shell=True)
self.stdout.write(
self.style.SUCCESS(
"Scan the barcode above with your authenticator app"
)
self.style.SUCCESS("Scan the barcode above with your authenticator app")
)
self.stdout.write(
self.style.SUCCESS(