mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2026-08-04 16:04:28 +00:00
[Controller] Fix missing password2 assignment in from_dict
This commit is contained in:
parent
0ac0e5c252
commit
ece940b000
2 changed files with 2 additions and 0 deletions
|
|
@ -32,6 +32,7 @@ class DomainadminModel(BaseModel):
|
|||
username=data.get("username"),
|
||||
domains=data.get("domains"),
|
||||
password=data.get("password"),
|
||||
password2=data.get("password"),
|
||||
active=data.get("active", None),
|
||||
)
|
||||
|
||||
|
|
|
|||
|
|
@ -57,6 +57,7 @@ class MailboxModel(BaseModel):
|
|||
domain=data.get("domain"),
|
||||
local_part=data.get("local_part"),
|
||||
password=data.get("password"),
|
||||
password2=data.get("password"),
|
||||
active=data.get("active", None),
|
||||
sogo_access=data.get("sogo_access", None),
|
||||
name=data.get("name", None),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue