changeset 3545:8cb5a99784b5

sent password when explicitely set
author Thomas Junk <thomas.junk@intevation.de>
date Fri, 31 May 2019 11:16:24 +0200
parents 067ad32fba69
children 7ffc42bb6ec5
files client/src/components/importconfiguration/ScheduledImports.vue
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/client/src/components/importconfiguration/ScheduledImports.vue	Fri May 31 11:08:27 2019 +0200
+++ b/client/src/components/importconfiguration/ScheduledImports.vue	Fri May 31 11:16:24 2019 +0200
@@ -877,7 +877,9 @@
           ...config,
           user: this.username
         };
-        if (!this.currentSchedule.id) config["password"] = this.password;
+        if (!this.currentSchedule.id || this.password) {
+          config["password"] = this.password;
+        }
       }
       if (this.import_ == this.$options.IMPORTTYPES.FAIRWAYDIMENSION) {
         if (