diff --git a/src/Umbraco.Web.UI.Client/src/packages/user/current-user/modals/current-user-mfa-disable-provider/current-user-mfa-disable-provider-modal.element.ts b/src/Umbraco.Web.UI.Client/src/packages/user/current-user/modals/current-user-mfa-disable-provider/current-user-mfa-disable-provider-modal.element.ts index c80bd47e77..93ccc585b2 100644 --- a/src/Umbraco.Web.UI.Client/src/packages/user/current-user/modals/current-user-mfa-disable-provider/current-user-mfa-disable-provider-modal.element.ts +++ b/src/Umbraco.Web.UI.Client/src/packages/user/current-user/modals/current-user-mfa-disable-provider/current-user-mfa-disable-provider-modal.element.ts @@ -102,7 +102,7 @@ export class UmbCurrentUserMfaDisableProviderModalElement extends UmbModalBaseEl const success = await this.#currentUserRepository.disableMfaProvider(this.data.providerName, code); if (success) { - this.#peek(this.localize.term('user_2faProviderIsDisabledMsg')); + this.#peek(this.localize.term('user_2faProviderIsDisabledMsg', this.data.displayName)); this.modalContext?.submit(); this._buttonState = 'success'; } else { @@ -119,7 +119,7 @@ export class UmbCurrentUserMfaDisableProviderModalElement extends UmbModalBaseEl async #peek(message: string, color?: UmbNotificationColor) { this.#notificationContext?.peek(color ?? 'positive', { data: { - headline: this.localize.term('member_2fa'), + headline: `${this.localize.term('member_2fa')} "${this.data?.displayName ?? this.data?.providerName}"`, message, }, });