Skip to content

Commit 90de059

Browse files
committed
docs: add comments for bcrypt.GenerateFromPassword
1 parent 69c4311 commit 90de059

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

auth/basic_auth.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ func (r *Register) Register(ctx context.Context, repo models.IUserRepo) (err err
7070
log.Error(ErrInvalidNameEmail)
7171
return
7272
}
73-
73+
// reserve temporarily
7474
password, err := bcrypt.GenerateFromPassword([]byte(r.Password), passwordCost)
7575
if err != nil {
7676
log.Error(ErrComparePassword)

0 commit comments

Comments
 (0)