From 43e4231be8f7d6fad29ad288200385c054772c2d Mon Sep 17 00:00:00 2001 From: kakwa Date: Tue, 5 Jul 2016 20:02:58 +0200 Subject: [PATCH] using POST instead of default GET... oups... sorry --- resources/static/js/ppolicy.js | 1 + 1 file changed, 1 insertion(+) diff --git a/resources/static/js/ppolicy.js b/resources/static/js/ppolicy.js index f4c4d31..655ec67 100644 --- a/resources/static/js/ppolicy.js +++ b/resources/static/js/ppolicy.js @@ -7,6 +7,7 @@ $('#form').validator({ var $ret = 'PPolicy error'; $.ajax({ url: '/checkppolicy', + type: 'POST', dataType: 'json', async: false, data: 'pwd=' + $el.val(),