Skip to content

Commit efac47a

Browse files
committed
Send password in normal case
1 parent 3b10926 commit efac47a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/login.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ var loginCmd = &cobra.Command{
5252
} else {
5353
password = cmd.Flag("password").Value.String()
5454
}
55-
token, err := chlib.UserLogin(db, strings.ToLower(email), strings.ToLower(password), np)
55+
token, err := chlib.UserLogin(db, strings.ToLower(email), password, np)
5656
if err != nil {
5757
np.ERROR.Println(err)
5858
return

0 commit comments

Comments
 (0)