github-advanced-security[bot] commented on code in PR #758:
URL: 
https://github.com/apache/hugegraph-toolchain/pull/758#discussion_r3886108641


##########
hugegraph-hubble/hubble-fe/src/pages/My/index.js:
##########
@@ -71,8 +83,14 @@
             setLoading(true);
             const res = await api.auth.updatePwd(data.user_name, old_password, 
user_password);
             if (res.status === 200) {
-                message.success(t('common.msg.update_success'));
-                setChangePass(false);
+                user.beginLogoutTransition();
+                sessionStorage.removeItem('redirect');
+                sessionStorage.setItem(
+                    LOGIN_NOTICE_KEY, PASSWORD_CHANGED_NOTICE

Review Comment:
   ## CodeQL / Clear text storage of sensitive information
   
   This stores sensitive data returned by [an access to 
PASSWORD_CHANGED_NOTICE](1) as clear text.
   
   [Show more 
details](https://github.com/apache/hugegraph-toolchain/security/code-scanning/95)



-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to