aboutsummaryrefslogtreecommitdiffstats
path: root/jsaccess
diff options
context:
space:
mode:
authorLaurent Ghigonis <laurent@p1sec.com>2013-06-19 02:53:26 +0200
committerLaurent Ghigonis <laurent@p1sec.com>2013-06-19 02:53:26 +0200
commit6ea4f26f51ee3401a7c80e89143c651d572bba84 (patch)
tree27efa08cb6bd3a8a760c61ecf91457789d167e90 /jsaccess
parentjsaccess: fix Makefile example scp (diff)
downloadlaurent-tools-6ea4f26f51ee3401a7c80e89143c651d572bba84.tar.xz
laurent-tools-6ea4f26f51ee3401a7c80e89143c651d572bba84.zip
jsaccess: fix dl of ecrypted files, damn typo
Diffstat (limited to 'jsaccess')
-rw-r--r--jsaccess/jsa/jsa.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jsaccess/jsa/jsa.js b/jsaccess/jsa/jsa.js
index cca0f95..f423533 100644
--- a/jsaccess/jsa/jsa.js
+++ b/jsaccess/jsa/jsa.js
@@ -132,7 +132,7 @@ function _dl(file, pass) {
var path = 'store/' + dirhash + '/' + RMD160.hex(dirhash + filename);
_status("Downloading \""+filename+"\" ...");
- if (crypt = '(nocrypt)') {
+ if (crypt == '(nocrypt)') {
_status("File is in your hands,<br/>Have a good day.<br/>");
window.location = path;
return;