[FEAT] (사용자 로직) : 인증 서비스 구현 완료
v0.1.2 (2025-11-16) - 로그인, 로그아웃, 토큰 갱신, 회원가입 API 구현 완료 - 로그 포맷 통일화
This commit is contained in:
@@ -25,11 +25,11 @@ class Users(db.Model):
|
||||
created_at = db.Column(db.BigInteger, nullable=True, comment="생성일 (unix timestamp, ms)")
|
||||
updated_at = db.Column(db.BigInteger, nullable=True, comment="수정일 (unix timestamp, ms)")
|
||||
|
||||
def __init__(self, id: str, password_hash: str, **kwargs: Any) -> None:
|
||||
def __init__(self, id: str, hash_password: str, **kwargs: Any) -> None:
|
||||
"""사용자 초기화"""
|
||||
self.user_uuid = str(uuid.uuid4())
|
||||
self.id = id
|
||||
self.password = password_hash
|
||||
self.password = hash_password
|
||||
|
||||
# 선택적 필드
|
||||
self.user_name = kwargs.get('user_name')
|
||||
|
||||
Reference in New Issue
Block a user