Quellcode durchsuchen

Master Password verification images leak password

display fingerprint only when we render password
https://github.com/lesspass/lesspass/issues/48
pull/342/head
Guillaume Vincent vor 8 Jahren
Ursprung
Commit
512d998c83
1 geänderte Dateien mit 4 neuen und 1 gelöschten Zeilen
  1. +4
    -1
      src/views/PasswordGenerator.vue

+ 4
- 1
src/views/PasswordGenerator.vue Datei anzeigen

@@ -87,7 +87,7 @@
autocorrect="off"
autocapitalize="none"
v-model="masterPassword">
<fingerprint :fingerprint="masterPassword" v-on:click.native="showMasterPassword"></fingerprint>
<fingerprint :fingerprint="fingerprint" v-on:click.native="showMasterPassword"></fingerprint>
</div>
</div>
</div>
@@ -204,6 +204,7 @@
return {
masterPassword: '',
encryptedLogin: '',
fingerprint: '',
generatedPassword: '',
cleanTimeout: null
}
@@ -281,6 +282,7 @@
this.masterPassword = '';
this.encryptedLogin = '';
this.generatedPassword = '';
this.fingerprint = '';
}, 1000 * seconds);
},
renderPassword(){
@@ -288,6 +290,7 @@
this.generatedPassword = '';
return;
}
this.fingerprint = this.masterPassword;
const password = new Password(this.password);
LessPass.renderPassword(this.encryptedLogin, this.password.site, password.options)
.then(generatedPassword => {


Laden…
Abbrechen
Speichern