Commit 90d221a3 authored by Jo Sama's avatar Jo Sama 馃槺
Browse files

Persons and operators must serialize password 馃ぁ

parent 44a271d9
......@@ -167,6 +167,8 @@ class Operator(BaseModel):
mobile: str
email: str
branch: BranchReference
# TODO: Remove the password field when proper auth is in place
password: Optional[str]
class Config:
fields = {
......@@ -192,6 +194,8 @@ class Person(BaseModel):
email: str
employee_number: str
branch: BranchReference
# TODO: Remove the password field when proper auth is in place
password: Optional[str]
class Config:
fields = {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment