diff --git a/src/views/PasswordGenerator.vue b/src/views/PasswordGenerator.vue index df80a12..4a7c34a 100644 --- a/src/views/PasswordGenerator.vue +++ b/src/views/PasswordGenerator.vue @@ -75,7 +75,7 @@
- +
@@ -350,6 +350,7 @@ return LessPass.generatePassword(site, login, masterPassword, passwordProfile).then(generatedPassword => { this.generatingPassword = false; this.generatedPassword = generatedPassword; + this.$store.dispatch('savePassword', {password: this.password}); window.document.getElementById('copyPasswordButton').setAttribute('data-clipboard-text', generatedPassword); }); },