Skip to content

Commit e52bb69

Browse files
authored
Merge pull request #12 from containerum/dev-v2.1.6
Send password in normal case
2 parents 3b10926 + efac47a commit e52bb69

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)