mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Added support for storing configurations of pgAdmin in an external database. #1832
This commit is contained in:
@@ -347,7 +347,7 @@ def mfa_delete(auth_name: str) -> bool:
|
||||
user_id=current_user.id, mfa_auth=auth_name
|
||||
)
|
||||
|
||||
if auth.count() != 0:
|
||||
if int(auth.count()) != 0:
|
||||
auth.delete()
|
||||
db.session.commit()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user