2
0
Fork 0

Merge pull request #3045 from dpalou/MOBILE-3859

MOBILE-3859 login: Fallback to http if certificate isn't trusted
main
Pau Ferrer Ocaña 2022-01-13 09:20:22 +01:00 committed by GitHub
commit 0b694235ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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.
});
}