azure-ad-b2c - 验证码错误信息不正确

azure-ad-b2c - Incorrect error message on verification code

在 Azure AD B2C 中,当我尝试注册一个新帐户并输入过期的验证码时(post 3 分钟 window);我收到一条错误消息——“太多不正确的尝试”。 然而,消息应该是这样的——“代码已过期;重试”。

如何正确设置此错误消息? 我正在使用 SUSI 策略中的默认错误页面。

您可以使用 language customization 配置某些消息。

很遗憾,我只能在注册政策中找到该消息。

{
  "ElementType": "UxElement",
  "ElementId": null,
  "StringId": "ver_fail_no_retry",
  "Override": false,
  "Value": "You've made too many incorrect attempts. Please try again later."
},