Account: remove alert from <brave-account-forgot-password-dialog>. (#36952)
This commit is contained in:
@@ -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"><b></ph>delete all of your data<ph name="END_BOLD"></b></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>
|
||||
|
||||
Reference in New Issue
Block a user