mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-11 20:57:31 +00:00
fix: separate tos and privacy checkbox into two (#4848)
This commit is contained in:
@@ -981,8 +981,8 @@ func externalRegistrationUserKeyToDomain(text *CustomText, result *domain.Custom
|
||||
if text.Key == domain.LoginKeyExternalRegistrationUserOverviewTOSConfirm {
|
||||
result.ExternalRegistrationUserOverview.TOSConfirm = text.Text
|
||||
}
|
||||
if text.Key == domain.LoginKeyExternalRegistrationUserOverviewTOSConfirmAnd {
|
||||
result.ExternalRegistrationUserOverview.TOSConfirmAnd = text.Text
|
||||
if text.Key == domain.LoginKeyExternalRegistrationUserOverviewPrivacyConfirm {
|
||||
result.ExternalRegistrationUserOverview.PrivacyConfirm = text.Text
|
||||
}
|
||||
if text.Key == domain.LoginKeyExternalRegistrationUserOverviewTOSLinkText {
|
||||
result.ExternalRegistrationUserOverview.TOSLinkText = text.Text
|
||||
@@ -1035,8 +1035,8 @@ func registrationUserKeyToDomain(text *CustomText, result *domain.CustomLoginTex
|
||||
if text.Key == domain.LoginKeyRegistrationUserTOSLinkText {
|
||||
result.RegistrationUser.TOSLinkText = text.Text
|
||||
}
|
||||
if text.Key == domain.LoginKeyRegistrationUserTOSConfirmAnd {
|
||||
result.RegistrationUser.TOSConfirmAnd = text.Text
|
||||
if text.Key == domain.LoginKeyRegistrationUserPrivacyConfirm {
|
||||
result.RegistrationUser.PrivacyConfirm = text.Text
|
||||
}
|
||||
if text.Key == domain.LoginKeyRegistrationUserPrivacyLinkText {
|
||||
result.RegistrationUser.PrivacyLinkText = text.Text
|
||||
@@ -1086,8 +1086,8 @@ func registrationOrgKeyToDomain(text *CustomText, result *domain.CustomLoginText
|
||||
if text.Key == domain.LoginKeyRegisterOrgTOSLinkText {
|
||||
result.RegistrationOrg.TOSLinkText = text.Text
|
||||
}
|
||||
if text.Key == domain.LoginKeyRegisterOrgTosConfirmAnd {
|
||||
result.RegistrationOrg.TOSConfirmAnd = text.Text
|
||||
if text.Key == domain.LoginKeyRegisterOrgPrivacyConfirm {
|
||||
result.RegistrationOrg.PrivacyConfirm = text.Text
|
||||
}
|
||||
if text.Key == domain.LoginKeyRegisterOrgPrivacyLinkText {
|
||||
result.RegistrationOrg.PrivacyLinkText = text.Text
|
||||
@@ -1134,8 +1134,8 @@ func externalUserNotFoundKeyToDomain(text *CustomText, result *domain.CustomLogi
|
||||
if text.Key == domain.LoginKeyExternalNotFoundTOSLinkText {
|
||||
result.ExternalNotFound.TOSLinkText = text.Text
|
||||
}
|
||||
if text.Key == domain.LoginKeyExternalNotFoundTOSConfirmAnd {
|
||||
result.ExternalNotFound.TOSConfirmAnd = text.Text
|
||||
if text.Key == domain.LoginKeyExternalNotFoundPrivacyConfirm {
|
||||
result.ExternalNotFound.PrivacyConfirm = text.Text
|
||||
}
|
||||
if text.Key == domain.LoginKeyExternalNotFoundPrivacyLinkText {
|
||||
result.ExternalNotFound.PrivacyLinkText = text.Text
|
||||
|
Reference in New Issue
Block a user