diff --git a/projects/ucap-webmessenger-app/src/app/store/account/authentication/effects.ts b/projects/ucap-webmessenger-app/src/app/store/account/authentication/effects.ts index e3a550c8..4ec1c3f2 100644 --- a/projects/ucap-webmessenger-app/src/app/store/account/authentication/effects.ts +++ b/projects/ucap-webmessenger-app/src/app/store/account/authentication/effects.ts @@ -197,7 +197,11 @@ export class Effects { } }); - return result.choice; + if (!!result && !!result.choice && result.choice) { + return true; + } else { + return false; + } } else { return false; }