Skip to content

Commit 5ea30f2

Browse files
removed condition to use the auth enable while authetication added
1 parent 8a51bab commit 5ea30f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/frontend/src/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ const AppWrapper = () => {
3535
setEnvData(config);
3636
setApiUrl(config.API_URL);
3737
setConfig(config);
38-
let defaultUserInfo = config.ENABLE_AUTH ? await getUserInfo() : ({} as UserInfo);
38+
let defaultUserInfo = await getUserInfo()
3939
window.userInfo = defaultUserInfo;
4040
setUserInfoGlobal(defaultUserInfo);
4141
const browserLanguage = await apiService.sendUserBrowserLanguage();

0 commit comments

Comments
 (0)