Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/marius-wieschollek/passwords-webextension.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src/vue
diff options
context:
space:
mode:
authorMarius David Wieschollek <passwords.public@mdns.eu>2021-01-09 12:57:34 +0300
committerMarius David Wieschollek <passwords.public@mdns.eu>2021-01-09 12:57:34 +0300
commit9c985e1eb649d8a3af4fae12056a51ea3ad801f8 (patch)
tree92aae1e61bce4ed8ea207165254e523393ac174a /src/vue
parenta02cc6599cd9dddc6df5ef01cc89607d177f8a35 (diff)
Only show bad password warning while popup open
Signed-off-by: Marius David Wieschollek <passwords.public@mdns.eu>
Diffstat (limited to 'src/vue')
-rw-r--r--src/vue/Components/List/Item/Password.vue7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/vue/Components/List/Item/Password.vue b/src/vue/Components/List/Item/Password.vue
index cc37631..28d59ea 100644
--- a/src/vue/Components/List/Item/Password.vue
+++ b/src/vue/Components/List/Item/Password.vue
@@ -78,6 +78,13 @@
try {
await ToastService.success(['PasswordPastedSuccess', this.password.getLabel()]);
+
+ if(this.password.getStatus() === 2 && await SettingsService.getValue('paste.compromised.warning')) {
+ ToastService
+ .warning('PasteBadPasswordWarning', null, 3)
+ .catch(ErrorManager.catchEvt);
+ }
+
if(await SettingsService.getValue('paste.popup.close') && this.active) {
window.close();
}