changeset 3557:c9c806e35855

client: import configuration: check username/password only if required
author Markus Kottlaender <markus@intevation.de>
date Fri, 31 May 2019 16:02:37 +0200
parents bf8f21ef40b8
children fb810668e45d
files client/src/components/importconfiguration/ScheduledImports.vue
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/client/src/components/importconfiguration/ScheduledImports.vue	Fri May 31 15:52:17 2019 +0200
+++ b/client/src/components/importconfiguration/ScheduledImports.vue	Fri May 31 16:02:37 2019 +0200
@@ -593,7 +593,8 @@
         if (this.isURLRequired && !this.url) return false;
         if (this.isSortbyRequired && !this.sortBy) return false;
         if (this.isFeatureTypeRequired && !this.featureType) return false;
-        if (!this.usernamePasswordFilled) return false;
+        if (this.isCredentialsRequired && !this.usernamePasswordFilled)
+          return false;
         if (this.import_ == this.$options.IMPORTTYPES.FAIRWAYDIMENSION) {
           if (
             !this.LOS ||