mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-12 10:57:35 +00:00
fix: tos on external registration (#2164)
* faet: add tos checkbox to external login * fix: add tos to external not found option * fix: add tos to external not found option * fix: show register external user overview * fix: no init user mail on external register * fix: custom login text * add missing custom text tests on org * add missing custom text tests on iam * fix: custom login text external registration overview tests * fix: back button on registration overview * fix: add texts, change register form * fix: external not found html * fix: remove form validation Co-authored-by: Livio Amstutz <livio.a@gmail.com>
This commit is contained in:
@@ -700,6 +700,9 @@ func passwordlessRegistrationDoneKeyToDomain(text *CustomTextView, result *domai
|
||||
if text.Key == domain.LoginKeyPasswordlessRegistrationDoneNextButtonText {
|
||||
result.PasswordlessRegistrationDone.NextButtonText = text.Text
|
||||
}
|
||||
if text.Key == domain.LoginKeyPasswordlessRegistrationDoneCancelButtonText {
|
||||
result.PasswordlessRegistrationDone.CancelButtonText = text.Text
|
||||
}
|
||||
}
|
||||
|
||||
func passwordChangeKeyToDomain(text *CustomTextView, result *domain.CustomLoginText) {
|
||||
@@ -898,6 +901,21 @@ func externalUserNotFoundKeyToDomain(text *CustomTextView, result *domain.Custom
|
||||
if text.Key == domain.LoginKeyExternalNotFoundAutoRegisterButtonText {
|
||||
result.ExternalNotFoundOption.AutoRegisterButtonText = text.Text
|
||||
}
|
||||
if text.Key == domain.LoginKeyExternalNotFoundTOSAndPrivacyLabel {
|
||||
result.ExternalNotFoundOption.TOSAndPrivacyLabel = text.Text
|
||||
}
|
||||
if text.Key == domain.LoginKeyExternalNotFoundTOSConfirm {
|
||||
result.ExternalNotFoundOption.TOSConfirm = text.Text
|
||||
}
|
||||
if text.Key == domain.LoginKeyExternalNotFoundTOSLinkText {
|
||||
result.ExternalNotFoundOption.TOSLinkText = text.Text
|
||||
}
|
||||
if text.Key == domain.LoginKeyExternalNotFoundTOSConfirmAnd {
|
||||
result.ExternalNotFoundOption.TOSConfirmAnd = text.Text
|
||||
}
|
||||
if text.Key == domain.LoginKeyExternalNotFoundPrivacyLinkText {
|
||||
result.ExternalNotFoundOption.PrivacyLinkText = text.Text
|
||||
}
|
||||
}
|
||||
|
||||
func successLoginKeyToDomain(text *CustomTextView, result *domain.CustomLoginText) {
|
||||
|
Reference in New Issue
Block a user