Remove default parameters (Chrome...)
This commit is contained in:
parent
3108195ce3
commit
e16fa0c218
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user