Skip to content

Commit 249e44c

Browse files
authored
Update custom-email-mailjet.md
1 parent a20c6d3 commit 249e44c

File tree

1 file changed

+1
-15
lines changed

1 file changed

+1
-15
lines changed

articles/active-directory-b2c/custom-email-mailjet.md

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -406,13 +406,6 @@ For more information, see [Self-asserted technical profile](restful-technical-pr
406406
<DisplayName>Local Account</DisplayName>
407407
<TechnicalProfiles>
408408
<TechnicalProfile Id="LocalAccountSignUpWithLogonEmail">
409-
<Metadata>
410-
<!--OTP validation error messages-->
411-
<Item Key="UserMessageIfSessionDoesNotExist">You have exceeded the maximum time allowed.</Item>
412-
<Item Key="UserMessageIfMaxRetryAttempted">You have exceeded the number of retries allowed.</Item>
413-
<Item Key="UserMessageIfInvalidCode">You have entered the wrong code.</Item>
414-
<Item Key="UserMessageIfSessionConflict">Cannot verify the code, please try again later.</Item>
415-
</Metadata>
416409
<DisplayClaims>
417410
<DisplayClaim DisplayControlReferenceId="emailVerificationControl" />
418411
<DisplayClaim ClaimTypeReferenceId="displayName" Required="true" />
@@ -423,13 +416,6 @@ For more information, see [Self-asserted technical profile](restful-technical-pr
423416
</DisplayClaims>
424417
</TechnicalProfile>
425418
<TechnicalProfile Id="LocalAccountDiscoveryUsingEmailAddress">
426-
<Metadata>
427-
<!--OTP validation error messages-->
428-
<Item Key="UserMessageIfSessionDoesNotExist">You have exceeded the maximum time allowed.</Item>
429-
<Item Key="UserMessageIfMaxRetryAttempted">You have exceeded the number of retries allowed.</Item>
430-
<Item Key="UserMessageIfInvalidCode">You have entered the wrong code.</Item>
431-
<Item Key="UserMessageIfSessionConflict">Cannot verify the code, please try again later.</Item>
432-
</Metadata>
433419
<DisplayClaims>
434420
<DisplayClaim DisplayControlReferenceId="emailVerificationControl" />
435421
</DisplayClaims>
@@ -570,14 +556,14 @@ The Localization element allows you to support multiple locales or languages in
570556
<!-- Email validation error messages-->
571557
<LocalizedString ElementType="ErrorMessage" StringId="UserMessageIfSessionDoesNotExist">You have exceeded the maximum time allowed.</LocalizedString>
572558
<LocalizedString ElementType="ErrorMessage" StringId="UserMessageIfMaxRetryAttempted">You have exceeded the number of retries allowed.</LocalizedString>
559+
<LocalizedString ElementType="ErrorMessage" StringId="UserMessageIfMaxNumberOfCodeGenerated">You have exceeded the number of code generation attempts allowed.</LocalizedString>
573560
<LocalizedString ElementType="ErrorMessage" StringId="UserMessageIfInvalidCode">You have entered the wrong code.</LocalizedString>
574561
<LocalizedString ElementType="ErrorMessage" StringId="UserMessageIfSessionConflict">Cannot verify the code, please try again later.</LocalizedString>
575562
<LocalizedString ElementType="ErrorMessage" StringId="UserMessageIfVerificationFailedRetryAllowed">The verification has failed, please try again.</LocalizedString>
576563
</LocalizedStrings>
577564
</LocalizedResources>
578565
```
579566

580-
After you add the localized strings, remove the OTP validation error messages metadata from the LocalAccountSignUpWithLogonEmail and LocalAccountDiscoveryUsingEmailAddress technical profiles.
581567

582568
## Next steps
583569

0 commit comments

Comments
 (0)