简体   繁体   English

如何从 Azure B2C 自定义策略的登录页面中删除“忘记密码”链接?

[英]How to remove the “Forgot Password” link from the signIn page in Azure B2C custom policies?

How can we remove the "Forgot password" link from the signIn page is Azure AD B2C login.我们如何从登录页面中删除“忘记密码”链接是 Azure AD B2C 登录。

Thanks.谢谢。

In the metadata section of your technical profile add:在您的技术资料的元数据部分添加:

<Metadata>
 <Item Key="setting.forgotPasswordLinkLocation">none</Item>
 </Metadata>

Options:选项:

AfterLabel (Default)
AfterInput
AfterButtons
none

You can use your own HTML and CSS in your user experience pages and host this HTML content in Blob storage.您可以在用户体验页面中使用自己的 HTML 和 CSS 并将此 HTML 内容托管在 Blob 存储中。

Then read the HTML from Blob storage in TrustFrameworkBase.xml.然后从 TrustFrameworkBase.xml 中的 Blob 存储中读取 HTML。

What you need to do is modify the resetpassword.html .您需要做的是修改resetpassword.html

See details from Customize the user interface of your application using a custom policy in Azure Active Directory B2C .请参阅使用 Azure Active Directory B2C 中的自定义策略自定义应用程序的用户界面中的详细信息。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM