无法自定义验证码消息

无法自定义验证码消息

本文介绍了无法自定义验证码消息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在帮助合作伙伴自定义其B2C政策,以显示用于电子邮件验证码的自定义消息.我们尝试在 TrustFrameworkExtension (附加)上自定义以下参数,但无效:

I’m helping a partner to customize their B2C policy to show a custom message for e-mail verification code. We tried to customize the following parameter on the TrustFrameworkExtension (Attached) but it had no effect:

<LocalizedString ElementType="UxElement"
StringId="ver_info_msg">Verification code has been sent to your inbox.
Please copy it to the input box below.</LocalizedString>\\

我们需要更改的是验证码的显示消息,如下图所示:在此处输入图片描述

What we need to change is the display message for verification code, as shown on the image below:enter image description here

有人可以提供一些指导吗?我以不同的方式尝试过,但我不知道我们是在做错什么,还是默认消息无法自定义.这会影响合作伙伴的上线.

Could anyone provide some guidance? I tried it different ways and I don´t know If we´re doing something wrong or if it´s a default message that can´t be customized. It´s impacting the partner go-live.

推荐答案

感谢指导!我们尝试自定义的消息具有不同的StringID.正确的StringID为 verification_control_code_sent

thanks for guidance! the message we were trying to customize has a different StringID. The correct StringID is verification_control_code_sent

一旦修复,我们便解决了该问题:

Once we fixed it we resolved the issue:

<!--Local account sign-up page Portuguese-->
      <LocalizedResources Id="api.localaccountsignup.pt">
        <LocalizedStrings>
          <LocalizedString ElementType="UxElement" StringId="verification_control_code_sent">Um código de segurança foi enviado para seu e-mail. Mantenha esta janela aberta.</LocalizedString>

这篇关于无法自定义验证码消息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-04 22:47