diff --git a/helpers/teams/BackendUserInfo.ts b/helpers/teams/BackendUserInfo.ts index 2c42d1398..8392e6f59 100644 --- a/helpers/teams/BackendUserInfo.ts +++ b/helpers/teams/BackendUserInfo.ts @@ -43,7 +43,7 @@ export const currentUserInfo$ = new BehaviorSubject(null) * Initializes the currenUserInfo$ view and sets up its update mechanism */ export async function initUserInfo() { - await updateUserInfo() + if (fb.idToken) await updateUserInfo() fb.idToken$.subscribe((token) => { if (token) {