forked from EVOgeek/Vmeda.Online
Merge pull request #3045 from dpalou/MOBILE-3859
MOBILE-3859 login: Fallback to http if certificate isn't trustedmain
commit
0b694235ae
|
@ -257,7 +257,7 @@ export class CoreSitesProvider {
|
|||
// The WS didn't return data, probably cannot connect.
|
||||
return new CoreSiteError({
|
||||
message: error.message || '',
|
||||
critical: 'status' in error && error.status === -2, // Certificate error.
|
||||
critical: false, // Allow fallback to http if siteUrl uses https.
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue