From e97f87e021bc193f476d1730b29c838f62108d45 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pau=20Ferrer=20Oca=C3=B1a?= Date: Tue, 28 Aug 2018 17:03:34 +0200 Subject: [PATCH] MOBILE-2567 login: Fix forgot password avalaibility detection --- src/core/login/providers/helper.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/login/providers/helper.ts b/src/core/login/providers/helper.ts index 844c446fa..35be01e17 100644 --- a/src/core/login/providers/helper.ts +++ b/src/core/login/providers/helper.ts @@ -203,7 +203,7 @@ export class CoreLoginHelperProvider { return this.requestPasswordReset(siteUrl).then(() => { return true; }).catch((error) => { - return error.available == 1 || error.errorcode != 'invalidrecord'; + return error.available == 1 || (error.errorcode != 'invalidrecord' && error.errorcode != ''); }); }