aboutsummaryrefslogtreecommitdiffstats
path: root/jsaccess
diff options
context:
space:
mode:
Diffstat (limited to 'jsaccess')
-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);