Skip to content
This repository was archived by the owner on May 16, 2019. It is now read-only.

Commit 75e5ce6

Browse files
authored
Merge pull request #1859 from rmisio/1858-unable-save-local-connection
[1858] fixing issue where user is unable to save a new local connection
2 parents 8734f23 + e50e359 commit 75e5ce6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/models/serverConfigMd.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ module.exports = Backbone.Model.extend({
7272
}
7373
}
7474

75-
if (!attrs.default) {
75+
if (!this.isLocalServer()) {
7676
if (!is.existy(attrs.username) || is.empty(attrs.username)) {
7777
this._addError(err, 'username', 'Please provide a value.');
7878
}

0 commit comments

Comments
 (0)