LauraXia123 commented on code in PR #11812:
URL: https://github.com/apache/gravitino/pull/11812#discussion_r3577539569


##########
web-v2/web/src/lib/provider/session.js:
##########
@@ -100,6 +100,16 @@ const AuthProvider = ({ children }) => {
           dispatch(setAuthUser(sessionUser))
           goToMetalakeListPage()
         }
+      } else if (authType === 'basic') {
+        const tokenToUse = sessionStorage.getItem('accessToken')
+
+        if (tokenToUse) {
+          basicAuthToken && dispatch(setAuthToken(basicAuthToken))
+          basicAuthUser && dispatch(setAuthUser(basicAuthUser))
+          goToMetalakeListPage()

Review Comment:
   `basicAuthToken` & `basicAuthUser` These two variables are not declared or 
defined anywhere.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to