diff --git a/www/config.json b/www/config.json index 67598bcfc6e..a4feee7519b 100644 --- a/www/config.json +++ b/www/config.json @@ -10,5 +10,7 @@ "wsextservice" : "local_mobile", "demo_sites": {"student": {"url": "http://school.demo.moodle.net", "username": "student", "password": "moodle"}, "teacher": {"url": "http://school.demo.moodle.net", "username": "teacher", "password": "moodle"}, "cva": {"url": "http://mm.cvaconsulting.com/moodle", "username": "student", "password": "student"}}, "gcmpn": "694767596569", - "customurlscheme": "moodlemobile" + "customurlscheme": "moodlemobile", + "siteurl": "", + "skipssoconfirmation": "false" } diff --git a/www/core/components/login/services/helper.js b/www/core/components/login/services/helper.js index fc883b09773..234dd62017f 100644 --- a/www/core/components/login/services/helper.js +++ b/www/core/components/login/services/helper.js @@ -104,7 +104,7 @@ angular.module('mm.core.login') * @return {Boolean} True if set, false otherwise. */ self.isFixedUrlSet = function() { - return typeof mmCoreConfigConstants.siteurl != 'undefined'; + return !!mmCoreConfigConstants.siteurl; }; /**