From: moisseev Date: Mon, 6 Jun 2022 15:01:53 +0000 (+0300) Subject: [WebUI] Fix privileged access for secure_ip X-Git-Tag: 3.3~208^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F4189%2Fhead;p=thirdparty%2Frspamd.git [WebUI] Fix privileged access for secure_ip --- diff --git a/interface/js/app/rspamd.js b/interface/js/app/rspamd.js index 66b1766c92..ecb034a863 100644 --- a/interface/js/app/rspamd.js +++ b/interface/js/app/rspamd.js @@ -583,7 +583,8 @@ function ($, visibility, NProgress, stickyTabs, tab_stat, tab_graph, tab_config, $.ajax({ type: "GET", url: "stat", - success: function () { + success: function (data) { + sessionStorage.setItem("read_only", data.read_only); displayUI(); }, error: function () {