aboutsummaryrefslogtreecommitdiff
path: root/jb/models
diff options
context:
space:
mode:
Diffstat (limited to 'jb/models')
-rw-r--r--jb/models/auth.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/jb/models/auth.py b/jb/models/auth.py
index d0e8386..fef5070 100644
--- a/jb/models/auth.py
+++ b/jb/models/auth.py
@@ -44,6 +44,8 @@ class User(BaseModel):
display_name: str | None = Field(default=None, max_length=255)
+ blocked: bool = Field(default=False)
+
@field_validator("email", mode="before")
@classmethod
def normalize_email(cls, value: Any) -> Any: