Fix backend bugs: password hash column rename, dynamic import, AuditLog response_model, websocket reference, missing exports, bcrypt version pin
This commit is contained in:
@@ -15,7 +15,7 @@ class User(Base):
|
||||
|
||||
id = Column(Integer, primary_key=True, index=True)
|
||||
username = Column(String(64), unique=True, nullable=False, index=True)
|
||||
password_sha512 = Column(String(128), nullable=False) # bcrypt hash
|
||||
password_hash = Column(String(128), nullable=False) # bcrypt hash
|
||||
salt = Column(String(128), nullable=False) # password salt
|
||||
email = Column(String(255), nullable=True, index=True)
|
||||
country = Column(String(2), nullable=True)
|
||||
|
||||
Reference in New Issue
Block a user