From 90d5399de172d1a87f6491d53d4e4c6176a562ef Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Tue, 20 Dec 2022 23:20:32 +0200 Subject: [PATCH] 2fa minor change --- files/routes/users.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/routes/users.py b/files/routes/users.py index 0e8b12197..bcb3fbd3a 100644 --- a/files/routes/users.py +++ b/files/routes/users.py @@ -595,7 +595,7 @@ def mfa_qr(v:User, secret:str): qr = qrcode.QRCode( error_correction=qrcode.constants.ERROR_CORRECT_L ) - qr.add_data(x.provisioning_uri(v.username, issuer_name=SITE_NAME)) + qr.add_data(x.provisioning_uri(v.username, issuer_name=SITE)) img = qr.make_image(fill_color="#000000", back_color="white") mem = io.BytesIO()