aboutsummaryrefslogtreecommitdiffstats
path: root/interface/js
diff options
context:
space:
mode:
authorAndrew Lewis <nerf@judo.za.org>2016-08-01 17:21:24 +0200
committerAndrew Lewis <nerf@judo.za.org>2016-08-01 17:21:24 +0200
commit5bb5d15843b0eeeeea01d16c250a903fc6698293 (patch)
treeea8994c61562998ee753dc45280529b871a5224e /interface/js
parent9ae4337be55788314c1342d89c4186f8647a6b52 (diff)
downloadrspamd-5bb5d15843b0eeeeea01d16c250a903fc6698293.tar.gz
rspamd-5bb5d15843b0eeeeea01d16c250a903fc6698293.zip
[WebUI] Clear connect password (#783)
Diffstat (limited to 'interface/js')
-rw-r--r--interface/js/rspamd.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/interface/js/rspamd.js b/interface/js/rspamd.js
index 7c4284c57..1c07571a7 100644
--- a/interface/js/rspamd.js
+++ b/interface/js/rspamd.js
@@ -1052,6 +1052,7 @@
$(document).on('submit', '#connectForm', function (e) {
e.preventDefault();
var password = $('#connectPassword').val();
+ document.getElementById('connectPassword').value = '';
$.ajax({
global: false,
dataType: 'json',