mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2025-06-07 06:22:57 -04:00
Password input id change in zerobin.js
This commit is contained in:
parent
1009491721
commit
eadcd60e14
1 changed files with 1 additions and 1 deletions
|
@ -119,7 +119,7 @@ function zeroCipher(key, message) {
|
||||||
if ($('input#password').val().length == 0) {
|
if ($('input#password').val().length == 0) {
|
||||||
return sjcl.encrypt(key, compress(message));
|
return sjcl.encrypt(key, compress(message));
|
||||||
}
|
}
|
||||||
return sjcl.encrypt(key + sjcl.codec.hex.fromBits(sjcl.hash.sha256.hash($("input#password").val())), compress(message));
|
return sjcl.encrypt(key + sjcl.codec.hex.fromBits(sjcl.hash.sha256.hash($("input#passwordinput").val())), compress(message));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue