From 8ae8c5c454ba42e8f56f415d33bbaaac7d1a37ec Mon Sep 17 00:00:00 2001 From: Parker Date: Mon, 4 Nov 2024 00:12:36 -0600 Subject: Remove API Keys -> Authenticate with JWT --- models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'models.py') diff --git a/models.py b/models.py index dad81a0..605b668 100644 --- a/models.py +++ b/models.py @@ -14,7 +14,7 @@ class User(Base): __tablename__ = "users" id = Column(Integer, primary_key=True) username = Column(String, unique=True, nullable=False) - password = Column(Text, nullable=False) + hashed_password = Column(Text, nullable=False) api_key = Column(String(20), unique=True, nullable=False) -- cgit v1.2.3-70-g09d2