mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2026-07-02 02:55:47 +00:00
[Controller] Fix missing password2 assignment in from_dict
This commit is contained in:
@@ -32,6 +32,7 @@ class DomainadminModel(BaseModel):
|
|||||||
username=data.get("username"),
|
username=data.get("username"),
|
||||||
domains=data.get("domains"),
|
domains=data.get("domains"),
|
||||||
password=data.get("password"),
|
password=data.get("password"),
|
||||||
|
password2=data.get("password"),
|
||||||
active=data.get("active", None),
|
active=data.get("active", None),
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -57,6 +57,7 @@ class MailboxModel(BaseModel):
|
|||||||
domain=data.get("domain"),
|
domain=data.get("domain"),
|
||||||
local_part=data.get("local_part"),
|
local_part=data.get("local_part"),
|
||||||
password=data.get("password"),
|
password=data.get("password"),
|
||||||
|
password2=data.get("password"),
|
||||||
active=data.get("active", None),
|
active=data.get("active", None),
|
||||||
sogo_access=data.get("sogo_access", None),
|
sogo_access=data.get("sogo_access", None),
|
||||||
name=data.get("name", None),
|
name=data.get("name", None),
|
||||||
|
|||||||
Reference in New Issue
Block a user