MOBILE-2567 login: Fix forgot password avalaibility detection
parent
63b932910d
commit
e97f87e021
|
@ -203,7 +203,7 @@ export class CoreLoginHelperProvider {
|
||||||
return this.requestPasswordReset(siteUrl).then(() => {
|
return this.requestPasswordReset(siteUrl).then(() => {
|
||||||
return true;
|
return true;
|
||||||
}).catch((error) => {
|
}).catch((error) => {
|
||||||
return error.available == 1 || error.errorcode != 'invalidrecord';
|
return error.available == 1 || (error.errorcode != 'invalidrecord' && error.errorcode != '');
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue