aboutsummaryrefslogtreecommitdiffstats
path: root/jsaccess/jsa/jsa.js
diff options
context:
space:
mode:
authorLaurent Ghigonis <laurent@p1sec.com>2013-06-17 05:28:09 +0200
committerLaurent Ghigonis <laurent@p1sec.com>2013-06-17 05:28:09 +0200
commit54f21e914266485d1b1397456a1072deb3d412fc (patch)
tree4ac98c5f566a47d1c09d14f9fcb18a2c5473b0bb /jsaccess/jsa/jsa.js
parentjsaccess: password not readable (diff)
downloadlaurent-tools-54f21e914266485d1b1397456a1072deb3d412fc.tar.xz
laurent-tools-54f21e914266485d1b1397456a1072deb3d412fc.zip
jsaccess: XXX ++
Diffstat (limited to '')
-rw-r--r--jsaccess/jsa/jsa.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/jsaccess/jsa/jsa.js b/jsaccess/jsa/jsa.js
index 4046133..c9cc923 100644
--- a/jsaccess/jsa/jsa.js
+++ b/jsaccess/jsa/jsa.js
@@ -45,6 +45,7 @@ function jsagetlist() {
_showfiles(data, pass, hash);
},
error: function (xhr, opts, err) {
+ // XXX differentiate crypto and permission errors
_status("Bad password");
document.getElementById('files').innerHTML = "";
throw(err);