diff options
author | moisseev <moiseev@mezonplus.ru> | 2022-06-06 18:01:53 +0300 |
---|---|---|
committer | moisseev <moiseev@mezonplus.ru> | 2022-06-06 18:01:53 +0300 |
commit | 54700079da48057ee78b0906be5abb692a7c1aa4 (patch) | |
tree | a4c5f29de0c7947f4a1044a3dbad20c90c4a3fe2 /interface | |
parent | 7acc9c3983eb0a5f702d4dcfc9e406d11aefeb27 (diff) | |
download | rspamd-54700079da48057ee78b0906be5abb692a7c1aa4.tar.gz rspamd-54700079da48057ee78b0906be5abb692a7c1aa4.zip |
[WebUI] Fix privileged access for secure_ip
Diffstat (limited to 'interface')
-rw-r--r-- | interface/js/app/rspamd.js | 3 |
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 () { |