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

Commit

Permalink
Merge pull request #1859 from rmisio/1858-unable-save-local-connection
Browse files Browse the repository at this point in the history
[1858] fixing issue where user is unable to save a new local connection
  • Loading branch information
jjeffryes committed Feb 3, 2017
2 parents 8734f23 + e50e359 commit 75e5ce6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/models/serverConfigMd.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ module.exports = Backbone.Model.extend({
}
}

if (!attrs.default) {
if (!this.isLocalServer()) {
if (!is.existy(attrs.username) || is.empty(attrs.username)) {
this._addError(err, 'username', 'Please provide a value.');
}
Expand Down

0 comments on commit 75e5ce6

Please sign in to comment.