mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Reverting 'Two-factor authentication' support as it cause OSX and docker build failures.
This reverts commit 787a441343.
This commit is contained in:
@@ -473,11 +473,3 @@ class UserMacros(db.Model):
|
||||
)
|
||||
name = db.Column(db.String(1024), nullable=False)
|
||||
sql = db.Column(db.Text(), nullable=False)
|
||||
|
||||
|
||||
class UserMFA(db.Model):
|
||||
"""Stores the options for the MFA for a particular user."""
|
||||
__tablename__ = 'user_mfa'
|
||||
user_id = db.Column(db.Integer, db.ForeignKey(USER_ID), primary_key=True)
|
||||
mfa_auth = db.Column(db.String(64), primary_key=True)
|
||||
options = db.Column(db.Text(), nullable=True)
|
||||
|
||||
Reference in New Issue
Block a user