Do not ask for aws credentials for selfhosting

This commit is contained in:
Johannes Zellner
2015-12-30 13:28:14 +01:00
parent 7c3562cea2
commit 9e531a05e1

View File

@@ -100,11 +100,7 @@ app.service('Wizard', [ function () {
}];
this.avatar = {};
this.avatarBlob = null;
this.dnsConfig = {
provider: 'route53',
accessKeyId: null,
secretAccessKey: null
};
this.dnsConfig = null;
}
Wizard.prototype.setPreviewAvatar = function (avatar) {
@@ -277,8 +273,12 @@ app.controller('SetupController', ['$scope', '$location', 'Client', 'Wizard', fu
return;
}
if (search.customDomain !== 'true') {
Wizard.dnsConfig = null;
if (search.customDomain === 'true') {
Wizard.dnsConfig = {
provider: 'route53',
accessKeyId: null,
secretAccessKey: null
};
}
Wizard.setupToken = search.setupToken;