Account: remove alert from <brave-account-forgot-password-dialog>. (#36952)

This commit is contained in:
Szilard Szaloki
2026-06-03 10:45:25 -07:00
committed by GitHub
parent 459ec2cff8
commit 73cd04e79d
3 changed files with 0 additions and 5 deletions
@@ -36,7 +36,6 @@ export function getHtml(this: BraveAccountDialogElement) {
<div class="title-and-description">
<div class="title">${this.dialogTitle}</div>
<div class="description">${this.dialogDescription}</div>
<slot name="alert"></slot>
</div>
<slot name="inputs"></slot>
<div class="action-buttons">
@@ -17,7 +17,6 @@ export function getHtml(this: BraveAccountForgotPasswordDialogElement) {
dialog-title="$i18n{BRAVE_ACCOUNT_FORGOT_PASSWORD_DIALOG_TITLE}"
show-back-button
>
<leo-alert slot="alert">$i18nRaw{BRAVE_ACCOUNT_ALERT_MESSAGE}</leo-alert>
<div slot="inputs">
<brave-account-email-input
@email-input=${(e: CustomEvent<EmailInputEventDetail>) => {
@@ -111,9 +111,6 @@
<message name="IDS_BRAVE_ACCOUNT_FORGOT_PASSWORD_DIALOG_DESCRIPTION" desc="Description for the dialog where the user can reset their Brave Account password" formatter_data="webui=BraveAccount">
Confirm your Brave account email and you'll then receive a link to reset your password. The link will only be valid for 30 minutes.
</message>
<message name="IDS_BRAVE_ACCOUNT_ALERT_MESSAGE" desc="Alert message explaining that if the user resets their password without having an active login, all their data will be deleted" formatter_data="webui=BraveAccount">
Warning: since you are not logged in to this device, resetting your password will <ph name="BEGIN_BOLD">&lt;b&gt;</ph>delete all of your data<ph name="END_BOLD">&lt;/b&gt;</ph> on the server. If you have another device where you are logged in, change your password from that device instead of resetting your password.
</message>
<message name="IDS_BRAVE_ACCOUNT_RESET_PASSWORD_BUTTON_LABEL" desc="Label for the button that submits the 'Forgot Password' dialog" formatter_data="webui=BraveAccount">
Reset your password
</message>