mirror of
https://github.com/andwati/zitadel.git
synced 2026-11-25 05:58:45 +00:00
fix: separate tos and privacy checkbox into two (#4848)
This commit is contained in:
@@ -221,7 +221,7 @@ type CustomLoginTextReadModel struct {
|
||||
RegistrationUserTOSConfirm string
|
||||
RegistrationUserTOSLink string
|
||||
RegistrationUserTOSLinkText string
|
||||
RegistrationUserTOSConfirmAnd string
|
||||
RegistrationUserPrivacyConfirm string
|
||||
RegistrationUserPrivacyLink string
|
||||
RegistrationUserPrivacyLinkText string
|
||||
RegistrationUserNextButtonText string
|
||||
@@ -240,7 +240,7 @@ type CustomLoginTextReadModel struct {
|
||||
ExternalRegistrationUserOverviewTOSConfirm string
|
||||
ExternalRegistrationUserOverviewTOSLink string
|
||||
ExternalRegistrationUserOverviewTOSLinkText string
|
||||
ExternalRegistrationUserOverviewTOSConfirmAnd string
|
||||
ExternalRegistrationUserOverviewPrivacyConfirm string
|
||||
ExternalRegistrationUserOverviewPrivacyLink string
|
||||
ExternalRegistrationUserOverviewPrivacyLinkText string
|
||||
ExternalRegistrationUserOverviewBackButtonText string
|
||||
@@ -258,7 +258,7 @@ type CustomLoginTextReadModel struct {
|
||||
RegisterOrgTOSAndPrivacyLabel string
|
||||
RegisterOrgTOSConfirm string
|
||||
RegisterOrgTOSLinkText string
|
||||
RegisterOrgTOSConfirmAnd string
|
||||
RegisterOrgPrivacyConfirm string
|
||||
RegisterOrgPrivacyLinkText string
|
||||
RegisterOrgSaveButtonText string
|
||||
|
||||
@@ -274,7 +274,7 @@ type CustomLoginTextReadModel struct {
|
||||
ExternalUserNotFoundTOSAndPrivacyLabel string
|
||||
ExternalUserNotFoundTOSConfirm string
|
||||
ExternalUserNotFoundTOSLinkText string
|
||||
ExternalUserNotFoundTOSConfirmAnd string
|
||||
ExternalUserNotFoundPrivacyConfirm string
|
||||
ExternalUserNotFoundPrivacyLinkText string
|
||||
|
||||
SuccessLoginTitle string
|
||||
@@ -1965,8 +1965,8 @@ func (wm *CustomLoginTextReadModel) handleRegistrationUserScreenSetEvent(e *poli
|
||||
wm.RegistrationUserTOSLinkText = e.Text
|
||||
return
|
||||
}
|
||||
if e.Key == domain.LoginKeyRegistrationUserTOSConfirmAnd {
|
||||
wm.RegistrationUserTOSConfirmAnd = e.Text
|
||||
if e.Key == domain.LoginKeyRegistrationUserPrivacyConfirm {
|
||||
wm.RegistrationUserPrivacyConfirm = e.Text
|
||||
return
|
||||
}
|
||||
if e.Key == domain.LoginKeyRegistrationUserPrivacyLinkText {
|
||||
@@ -2032,8 +2032,8 @@ func (wm *CustomLoginTextReadModel) handleExternalRegistrationUserOverviewScreen
|
||||
wm.ExternalRegistrationUserOverviewTOSLinkText = e.Text
|
||||
return
|
||||
}
|
||||
if e.Key == domain.LoginKeyExternalRegistrationUserOverviewTOSConfirmAnd {
|
||||
wm.ExternalRegistrationUserOverviewTOSConfirmAnd = e.Text
|
||||
if e.Key == domain.LoginKeyExternalRegistrationUserOverviewPrivacyConfirm {
|
||||
wm.ExternalRegistrationUserOverviewPrivacyConfirm = e.Text
|
||||
return
|
||||
}
|
||||
if e.Key == domain.LoginKeyExternalRegistrationUserOverviewPrivacyLinkText {
|
||||
@@ -2107,8 +2107,8 @@ func (wm *CustomLoginTextReadModel) handleRegistrationUserScreenRemoveEvent(e *p
|
||||
wm.RegistrationUserTOSLinkText = ""
|
||||
return
|
||||
}
|
||||
if e.Key == domain.LoginKeyRegistrationUserTOSConfirmAnd {
|
||||
wm.RegistrationUserTOSConfirmAnd = ""
|
||||
if e.Key == domain.LoginKeyRegistrationUserPrivacyConfirm {
|
||||
wm.RegistrationUserPrivacyConfirm = ""
|
||||
return
|
||||
}
|
||||
if e.Key == domain.LoginKeyRegistrationUserPrivacyLinkText {
|
||||
@@ -2174,8 +2174,8 @@ func (wm *CustomLoginTextReadModel) handleExternalRegistrationUserOverviewScreen
|
||||
wm.ExternalRegistrationUserOverviewTOSLinkText = ""
|
||||
return
|
||||
}
|
||||
if e.Key == domain.LoginKeyExternalRegistrationUserOverviewTOSConfirmAnd {
|
||||
wm.ExternalRegistrationUserOverviewTOSConfirmAnd = ""
|
||||
if e.Key == domain.LoginKeyExternalRegistrationUserOverviewPrivacyConfirm {
|
||||
wm.ExternalRegistrationUserOverviewPrivacyConfirm = ""
|
||||
return
|
||||
}
|
||||
if e.Key == domain.LoginKeyExternalRegistrationUserOverviewPrivacyLinkText {
|
||||
@@ -2241,8 +2241,8 @@ func (wm *CustomLoginTextReadModel) handleRegistrationOrgScreenSetEvent(e *polic
|
||||
wm.RegisterOrgTOSLinkText = e.Text
|
||||
return
|
||||
}
|
||||
if e.Key == domain.LoginKeyRegisterOrgTosConfirmAnd {
|
||||
wm.RegisterOrgTOSConfirmAnd = e.Text
|
||||
if e.Key == domain.LoginKeyRegisterOrgPrivacyConfirm {
|
||||
wm.RegisterOrgPrivacyConfirm = e.Text
|
||||
return
|
||||
}
|
||||
if e.Key == domain.LoginKeyRegisterOrgPrivacyLinkText {
|
||||
@@ -2304,8 +2304,8 @@ func (wm *CustomLoginTextReadModel) handleRegistrationOrgScreenRemoveEvent(e *po
|
||||
wm.RegisterOrgTOSLinkText = ""
|
||||
return
|
||||
}
|
||||
if e.Key == domain.LoginKeyRegisterOrgTosConfirmAnd {
|
||||
wm.RegisterOrgTOSConfirmAnd = ""
|
||||
if e.Key == domain.LoginKeyRegisterOrgPrivacyConfirm {
|
||||
wm.RegisterOrgPrivacyConfirm = ""
|
||||
return
|
||||
}
|
||||
if e.Key == domain.LoginKeyRegisterOrgPrivacyLinkText {
|
||||
@@ -2385,8 +2385,8 @@ func (wm *CustomLoginTextReadModel) handleExternalUserNotFoundScreenSetEvent(e *
|
||||
wm.ExternalUserNotFoundTOSLinkText = e.Text
|
||||
return
|
||||
}
|
||||
if e.Key == domain.LoginKeyExternalNotFoundTOSConfirmAnd {
|
||||
wm.ExternalUserNotFoundTOSConfirmAnd = e.Text
|
||||
if e.Key == domain.LoginKeyExternalNotFoundPrivacyConfirm {
|
||||
wm.ExternalUserNotFoundPrivacyConfirm = e.Text
|
||||
return
|
||||
}
|
||||
if e.Key == domain.LoginKeyExternalNotFoundPrivacyLinkText {
|
||||
@@ -2424,8 +2424,8 @@ func (wm *CustomLoginTextReadModel) handleExternalUserNotFoundScreenRemoveEvent(
|
||||
wm.ExternalUserNotFoundTOSConfirm = ""
|
||||
return
|
||||
}
|
||||
if e.Key == domain.LoginKeyExternalNotFoundTOSConfirmAnd {
|
||||
wm.ExternalUserNotFoundTOSConfirmAnd = ""
|
||||
if e.Key == domain.LoginKeyExternalNotFoundPrivacyConfirm {
|
||||
wm.ExternalUserNotFoundPrivacyConfirm = ""
|
||||
return
|
||||
}
|
||||
if e.Key == domain.LoginKeyExternalNotFoundPrivacyLinkText {
|
||||
|
||||
Reference in New Issue
Block a user