tianxiaoliang commented on code in PR #1388:
URL: 
https://github.com/apache/servicecomb-service-center/pull/1388#discussion_r1099766647


##########
server/service/rbac/password.go:
##########
@@ -96,12 +93,12 @@ func changePassword(ctx context.Context, name, 
currentPassword, pwd string) erro
 }
 
 func doChangePassword(ctx context.Context, old *rbac.Account, pwd string) 
error {
-       hash, err := bcrypt.GenerateFromPassword([]byte(pwd), 14)

Review Comment:
   如果GenerateFromPassword不合适被调用,那就改成小写开头吧



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