From 54700079da48057ee78b0906be5abb692a7c1aa4 Mon Sep 17 00:00:00 2001 From: moisseev Date: Mon, 6 Jun 2022 18:01:53 +0300 Subject: [WebUI] Fix privileged access for secure_ip --- interface/js/app/rspamd.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'interface/js/app/rspamd.js') diff --git a/interface/js/app/rspamd.js b/interface/js/app/rspamd.js index 66b1766c9..ecb034a86 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 () { -- cgit v1.2.3