mirror of
https://github.com/andwati/zitadel.git
synced 2026-12-01 08:28:51 +00:00
feat: New event user (#1156)
* feat: change user command side * feat: change user command side * feat: use states on write model * feat: command and query side in auth api * feat: auth commands * feat: check external idp id * feat: user state check * fix: error messages * fix: is active state
This commit is contained in:
@@ -57,6 +57,13 @@ func writeModelToEmail(wm *HumanEmailWriteModel) *domain.Email {
|
||||
}
|
||||
}
|
||||
|
||||
func writeModelToPhone(wm *HumanPhoneWriteModel) *domain.Phone {
|
||||
return &domain.Phone{
|
||||
ObjectRoot: writeModelToObjectRoot(wm.WriteModel),
|
||||
PhoneNumber: wm.Phone,
|
||||
IsPhoneVerified: wm.IsPhoneVerified,
|
||||
}
|
||||
}
|
||||
func writeModelToAddress(wm *HumanAddressWriteModel) *domain.Address {
|
||||
return &domain.Address{
|
||||
ObjectRoot: writeModelToObjectRoot(wm.WriteModel),
|
||||
|
||||
Reference in New Issue
Block a user