Localization: Supply the display name to the localization key for the alt and title attributes of the 2FA QR code image (#20770)
Simple fix to supply the display name to the localization key for the 2FA QR Code Image
This commit is contained in:
@@ -101,8 +101,8 @@ export class UmbMfaProviderDefaultElement extends UmbLitElement implements UmbMf
|
|||||||
<img
|
<img
|
||||||
id="qrCode"
|
id="qrCode"
|
||||||
.src=${this._qrCodeSetupImageUrl}
|
.src=${this._qrCodeSetupImageUrl}
|
||||||
alt=${this.localize.term('user_2faQrCodeAlt')}
|
alt=${this.localize.term('user_2faQrCodeAlt', this.displayName)}
|
||||||
title=${this.localize.term('user_2faQrCodeTitle')}
|
title=${this.localize.term('user_2faQrCodeTitle', this.displayName)}
|
||||||
loading="eager" />
|
loading="eager" />
|
||||||
</div>
|
</div>
|
||||||
<uui-form-layout-item class="text-center">
|
<uui-form-layout-item class="text-center">
|
||||||
|
|||||||
Reference in New Issue
Block a user