mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2024-11-22 08:46:39 -06:00
Fixed an issue where master password was not set correctly with external config database. #5603
This commit is contained in:
parent
d3f5e6e931
commit
14d29c7a92
@ -26,3 +26,4 @@ Bug fixes
|
||||
|
||||
| `Issue #5453 <https://github.com/pgadmin-org/pgadmin4/issues/5453>`_ - Fixed an issue where Transaction IDs were not found in session in the Query Tool.
|
||||
| `Issue #5564 <https://github.com/pgadmin-org/pgadmin4/issues/5564>`_ - Ensure that table statistics are sorted by size.
|
||||
| `Issue #5603 <https://github.com/pgadmin-org/pgadmin4/issues/5603>`_ - Fixed an issue where master password was not set correctly with external config database.
|
||||
|
@ -92,10 +92,10 @@ class User(db.Model, UserMixin):
|
||||
id = db.Column(db.Integer, primary_key=True)
|
||||
email = db.Column(db.String(256), nullable=True)
|
||||
username = db.Column(db.String(64), unique=True, nullable=False)
|
||||
password = db.Column(db.String(256))
|
||||
password = db.Column(PgAdminDbBinaryString())
|
||||
active = db.Column(db.Boolean(), nullable=False)
|
||||
confirmed_at = db.Column(db.DateTime())
|
||||
masterpass_check = db.Column(db.String(256))
|
||||
masterpass_check = db.Column(PgAdminDbBinaryString())
|
||||
roles = db.relationship('Role', secondary=roles_users,
|
||||
backref=db.backref('users', lazy='dynamic'))
|
||||
auth_source = db.Column(db.String(16), unique=True, nullable=False)
|
||||
|
Loading…
Reference in New Issue
Block a user