mirror of
https://github.com/bitwarden/browser
synced 2025-12-21 02:33:46 +00:00
use swal titletext to avoid XSS (#1828)
This commit is contained in:
@@ -239,7 +239,7 @@ export class SettingsComponent implements OnInit {
|
||||
const submitted = Swal.fire({
|
||||
heightAuto: false,
|
||||
buttonsStyling: false,
|
||||
title: this.i18nService.t('awaitDesktop'),
|
||||
titleText: this.i18nService.t('awaitDesktop'),
|
||||
text: this.i18nService.t('awaitDesktopDesc'),
|
||||
icon: 'info',
|
||||
iconHtml: '<i class="swal-custom-icon fa fa-info-circle text-info"></i>',
|
||||
|
||||
Reference in New Issue
Block a user