Remove default parameters (Chrome...)

This commit is contained in:
root 2015-03-27 18:23:26 +01:00
parent 3108195ce3
commit e16fa0c218
1 changed files with 2 additions and 2 deletions

View File

@ -117,7 +117,7 @@ var passwords;
var current_user = "";
var current_mkey = "";
function PasswordEntry (ciphered_login, ciphered_password, salt="", shadow_login="") {
function PasswordEntry (ciphered_login, ciphered_password, salt, shadow_login) {
this.ciphered_login = ciphered_login;
this.ciphered_password = ciphered_password;
this.unciphered = false;
@ -550,7 +550,7 @@ function construct_pentry(user, url, password, login, mkey, derive_masterkey)
ciphered_login = a2hex(aes.encryptLongString(ciphered_login, a_masterkey));
ciphered_password = a2hex(aes.encryptLongString(ciphered_password, a_masterkey));
pentry = new PasswordEntry(ciphered_login, ciphered_password);
pentry = new PasswordEntry(ciphered_login, ciphered_password, "", "");
pentry.unciphered = true;
pentry.clear_url = url;
pentry.clear_login = login;