]> source.dussan.org Git - rspamd.git/commitdiff
[WebUI] Clear connect password (#783) 785/head
authorAndrew Lewis <nerf@judo.za.org>
Mon, 1 Aug 2016 15:21:24 +0000 (17:21 +0200)
committerAndrew Lewis <nerf@judo.za.org>
Mon, 1 Aug 2016 15:21:24 +0000 (17:21 +0200)
interface/js/rspamd.js

index 7c4284c575679933e34e65c3c1cdcefb6bcc8187..1c07571a7d5b353f0cd284f4ed4ba36233b41d76 100644 (file)
             $(document).on('submit', '#connectForm', function (e) {
                 e.preventDefault();
                 var password = $('#connectPassword').val();
+                document.getElementById('connectPassword').value = '';
                 $.ajax({
                     global: false,
                     dataType: 'json',