Flash taskbar icon on 2FA prompt

This commit is contained in:
Natsumi
2023-02-15 02:33:14 +13:00
parent edba9f6468
commit 4cdf2127eb
3 changed files with 179 additions and 97 deletions

View File

@@ -6550,6 +6550,7 @@ speechSynthesis.getVoices();
if (this.twoFactorAuthDialogVisible) {
return;
}
AppApi.FlashWindow();
this.twoFactorAuthDialogVisible = true;
this.$prompt($t('prompt.totp.description'), $t('prompt.totp.header'), {
distinguishCancelAndClose: true,
@@ -6622,6 +6623,7 @@ speechSynthesis.getVoices();
if (this.twoFactorAuthDialogVisible) {
return;
}
AppApi.FlashWindow();
this.twoFactorAuthDialogVisible = true;
this.$prompt(
$t('prompt.email_otp.description'),