summaryrefslogtreecommitdiffstats
path: root/interface
diff options
context:
space:
mode:
authormoisseev <moiseev@mezonplus.ru>2022-06-06 18:01:53 +0300
committermoisseev <moiseev@mezonplus.ru>2022-06-06 18:01:53 +0300
commit54700079da48057ee78b0906be5abb692a7c1aa4 (patch)
treea4c5f29de0c7947f4a1044a3dbad20c90c4a3fe2 /interface
parent7acc9c3983eb0a5f702d4dcfc9e406d11aefeb27 (diff)
downloadrspamd-54700079da48057ee78b0906be5abb692a7c1aa4.tar.gz
rspamd-54700079da48057ee78b0906be5abb692a7c1aa4.zip
[WebUI] Fix privileged access for secure_ip
Diffstat (limited to 'interface')
-rw-r--r--interface/js/app/rspamd.js3
1 files changed, 2 insertions, 1 deletions
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 () {