2
0
Fork 0

MOBILE-3859 login: Fallback to http if certificate isn't trusted

main
Dani Palou 2022-01-13 08:44:56 +01:00
parent ee8c9de101
commit fa9fd03feb
1 changed files with 1 additions and 1 deletions

View File

@ -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.
});
}