Skip to content
This repository was archived by the owner on Sep 3, 2025. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/dispatch/auth/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ def email_required(cls, v):
class UserLogin(UserBase):
"""Pydantic model for user login data."""

password: str | None = None
password: str

@field_validator("password")
@classmethod
Expand All @@ -179,7 +179,7 @@ def password_required(cls, v):
class UserRegister(UserLogin):
"""Pydantic model for user registration data."""

password: str | None = None
password: str = ""

@field_validator("password", mode="before")
@classmethod
Expand Down
Loading