Skip to content

Commit 8780579

Browse files
authored
Merge pull request #707 from dpalou/MOBILE-1840
MOBILE-1840 config: Add missing available settings
2 parents 501158b + 065a03d commit 8780579

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

www/config.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,7 @@
1010
"wsextservice" : "local_mobile",
1111
"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"}},
1212
"gcmpn": "694767596569",
13-
"customurlscheme": "moodlemobile"
13+
"customurlscheme": "moodlemobile",
14+
"siteurl": "",
15+
"skipssoconfirmation": "false"
1416
}

www/core/components/login/services/helper.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ angular.module('mm.core.login')
107107
* @return {Boolean} True if set, false otherwise.
108108
*/
109109
self.isFixedUrlSet = function() {
110-
return typeof mmCoreConfigConstants.siteurl != 'undefined';
110+
return !!mmCoreConfigConstants.siteurl;
111111
};
112112

113113
/**

0 commit comments

Comments
 (0)