From 6a161a05efab801269fc0643771c61c44eb20db6 Mon Sep 17 00:00:00 2001 From: Mihajlo Medjedovic Date: Wed, 12 Jul 2023 10:42:47 +0200 Subject: [PATCH] fix: auth manager merge issues --- src/auth/AuthManager.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/auth/AuthManager.ts b/src/auth/AuthManager.ts index 5c1241e..c8adef9 100644 --- a/src/auth/AuthManager.ts +++ b/src/auth/AuthManager.ts @@ -157,6 +157,7 @@ export class AuthManager { return { isLoggedIn, userName: this.userName || '', + userLongName: this.userLongName || '', errorMessage: 'Public access has been denied.' } } @@ -181,6 +182,10 @@ export class AuthManager { .catch((err) => { // ignore if resource not found error if (!(err instanceof NotFoundError)) throw err + + return { + result: '' + } }) }