fd
This commit is contained in:
parent
358a262262
commit
e847708659
5 changed files with 39 additions and 76 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue