Do not fire configured event if no fqdn is set

This commit is contained in:
Johannes Zellner
2017-01-05 13:05:36 +01:00
parent 617fa98dee
commit 59deb8b708
+2
View File
@@ -146,6 +146,8 @@ function isConfigured(callback) {
// set of rules to see if we have the configs required for cloudron to function
// note this checks for missing configs and not invalid configs
if (!config.fqdn()) return callback(null, false);
settings.getDnsConfig(function (error, dnsConfig) {
if (error) return callback(error);