فهرست منبع

Merge pull request #4822 from mailcow/staging

Automatic PR to nightly from 2022-10-26T07:46:18Z
Niklas Meyer 2 سال پیش
والد
کامیت
177ebe26de
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      data/web/templates/base.twig

+ 1 - 1
data/web/templates/base.twig

@@ -202,7 +202,7 @@ function recursiveBase64StrToArrayBuffer(obj) {
     // TFA, CSRF, Alerts in footer.inc.php
     // TFA, CSRF, Alerts in footer.inc.php
     // Other general functions in mailcow.js
     // Other general functions in mailcow.js
     {% for alert_type, alert_msg in alerts %}
     {% for alert_type, alert_msg in alerts %}
-    mailcow_alert_box('{{ alert_msg|raw }}', '{{ alert_type }}');
+    mailcow_alert_box('{{ alert_msg|raw|e("js") }}', '{{ alert_type }}');
     {% endfor %}
     {% endfor %}
 
 
     // Confirm TFA modal
     // Confirm TFA modal