mirror of
https://github.com/optim-enterprises-bv/Mailu.git
synced 2025-10-28 16:52:37 +00:00
Replace missing with load_default
This commit is contained in:
@@ -1148,7 +1148,7 @@ class TokenSchema(BaseSchema):
|
||||
sibling = True
|
||||
|
||||
password = PasswordField(required=True, metadata={'model': models.User})
|
||||
hash_password = fields.Boolean(load_only=True, missing=False)
|
||||
hash_password = fields.Boolean(load_only=True, load_default=False)
|
||||
|
||||
|
||||
@mapped
|
||||
@@ -1193,7 +1193,7 @@ class UserSchema(BaseSchema):
|
||||
fetches = fields.Nested(FetchSchema, many=True)
|
||||
|
||||
password = PasswordField(required=True, metadata={'model': models.User})
|
||||
hash_password = fields.Boolean(load_only=True, missing=False)
|
||||
hash_password = fields.Boolean(load_only=True, load_default=False)
|
||||
|
||||
|
||||
@mapped
|
||||
|
||||
Reference in New Issue
Block a user