mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-11 20:57:31 +00:00
fix: reset custom texts to default (#6833)
* Revert "fix: add texts after template reset (#6237)"
This reverts commit d937ee3dda
.
* fix: reset of custom text template
* add custom bulk limits from issue
https://github.com/zitadel/zitadel/issues/6766#issuecomment-1778721782
This commit is contained in:
@@ -86,16 +86,6 @@ func writeModelToMailTemplatePolicy(wm *MailTemplateWriteModel) *domain.MailTemp
|
||||
}
|
||||
}
|
||||
|
||||
func writeModelToCustomText(wm *CustomTextWriteModel) *domain.CustomText {
|
||||
return &domain.CustomText{
|
||||
ObjectRoot: writeModelToObjectRoot(wm.WriteModel),
|
||||
State: wm.State,
|
||||
Key: wm.Key,
|
||||
Language: wm.Language,
|
||||
Text: wm.Text,
|
||||
}
|
||||
}
|
||||
|
||||
func writeModelToPasswordAgePolicy(wm *PasswordAgePolicyWriteModel) *domain.PasswordAgePolicy {
|
||||
return &domain.PasswordAgePolicy{
|
||||
ObjectRoot: writeModelToObjectRoot(wm.WriteModel),
|
||||
|
Reference in New Issue
Block a user