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