mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Remove the Pillow dependency completely.
This commit is contained in:
@@ -154,7 +154,7 @@ class TOTPAuthenticator(BaseMFAuth):
|
||||
|
||||
img = qrcode.make(uri)
|
||||
buffered = BytesIO()
|
||||
img.save(buffered, format="JPEG")
|
||||
img.save(buffered)
|
||||
img_base64 = base64.b64encode(buffered.getvalue())
|
||||
|
||||
return dict(
|
||||
|
||||
Reference in New Issue
Block a user