mirror of
				https://github.com/optim-enterprises-bv/Mailu.git
				synced 2025-10-30 17:47:55 +00:00 
			
		
		
		
	Replace missing with load_default
This commit is contained in:
		| @@ -1148,7 +1148,7 @@ class TokenSchema(BaseSchema): | |||||||
|         sibling = True |         sibling = True | ||||||
|  |  | ||||||
|     password = PasswordField(required=True, metadata={'model': models.User}) |     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 | @mapped | ||||||
| @@ -1193,7 +1193,7 @@ class UserSchema(BaseSchema): | |||||||
|     fetches = fields.Nested(FetchSchema, many=True) |     fetches = fields.Nested(FetchSchema, many=True) | ||||||
|  |  | ||||||
|     password = PasswordField(required=True, metadata={'model': models.User}) |     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 | @mapped | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Vincent Kling
					Vincent Kling