Skip to content

Commit 8dccce6

Browse files
leonrayangbaijiaruo1
authored andcommitted
fix(master):CubeFS leaks users key in logs
Signed-off-by: leonrayang <chl696@sina.com>
1 parent c21d034 commit 8dccce6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: master/user.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ func (u *User) createKey(param *proto.UserCreateParam) (userInfo *proto.UserInfo
106106
}
107107
u.userStore.Store(userID, userInfo)
108108
u.AKStore.Store(accessKey, AKUser)
109-
log.LogInfof("action[createUser], userID: %v, accesskey[%v], secretkey[%v]", userID, accessKey, secretKey)
109+
110110
return
111111
}
112112

0 commit comments

Comments
 (0)