1
0
Fork 0
mirror of https://github.com/Ylianst/MeshCentral.git synced 2025-03-09 15:40:18 +00:00

Fixed notifications that had html codes.

This commit is contained in:
Ylian Saint-Hilaire 2020-07-15 13:25:18 -07:00
parent 98dc83c526
commit be6ec894e3
3 changed files with 3 additions and 4 deletions

View file

@ -1881,8 +1881,7 @@
// Check if none or at least 2 factors are enabled.
if ((backupCodesWarningDone == false) && (authFactorCount == 1)) {
var n = { text: "Please add two-factor backup codes. If the current factor is lost, there is not way to recover this account.", title: "Two factor authentication" };
addNotification(n);
addNotification({ text: "Please add two-factor backup codes. If the current factor is lost, there is not way to recover this account.", title: "Two factor authentication" });
backupCodesWarningDone = true;
}