2fa minor change

master
Aevann1 2022-12-20 23:20:32 +02:00
parent 9b50f727b2
commit 90d5399de1
1 changed files with 1 additions and 1 deletions

View File

@ -595,7 +595,7 @@ def mfa_qr(v:User, secret:str):
qr = qrcode.QRCode( qr = qrcode.QRCode(
error_correction=qrcode.constants.ERROR_CORRECT_L 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") img = qr.make_image(fill_color="#000000", back_color="white")
mem = io.BytesIO() mem = io.BytesIO()