Merge pull request #2457 from dpalou/MOBILE-3476
MOBILE-3476 login: Make demo accounts case insensitivemain
commit
7811ab0bb5
|
@ -431,6 +431,8 @@ export class CoreSitesProvider {
|
|||
*/
|
||||
getDemoSiteData(name: string): any {
|
||||
const demoSites = CoreConfigConstants.demo_sites;
|
||||
name = name.toLowerCase();
|
||||
|
||||
if (typeof demoSites != 'undefined' && typeof demoSites[name] != 'undefined') {
|
||||
return demoSites[name];
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue