This commit is contained in:
Aevann1 2021-09-10 05:03:37 +02:00
parent 358a262262
commit e847708659
5 changed files with 39 additions and 76 deletions

View file

@ -291,7 +291,7 @@ def mfa_qr(secret, v):
mem = io.BytesIO()
img.save(mem, format="PNG", optimize=True, quality=30)
img.save(mem, format="PNG")
mem.seek(0, 0)
return send_file(mem, mimetype="image/png", as_attachment=False)