1
0
mirror of https://github.com/mailcow/mailcow-dockerized.git synced 2025-12-26 08:11:33 +00:00

[Controller] Fix missing password2 assignment in from_dict

This commit is contained in:
FreddleSpl0it
2025-08-19 11:28:08 +02:00
parent 0ac0e5c252
commit ece940b000
2 changed files with 2 additions and 0 deletions

View File

@@ -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),
)

View File

@@ -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),