refactor(db): rename User.Passwd to User.Password (#7196)

This commit is contained in:
Joe Chen
2022-10-22 14:56:25 +08:00
committed by GitHub
parent c502dc6ed8
commit 7cbd84d5b3
10 changed files with 21 additions and 21 deletions

View File

@@ -154,7 +154,7 @@ func runCreateUser(c *cli.Context) error {
if err := db.CreateUser(&db.User{
Name: c.String("name"),
Email: c.String("email"),
Passwd: c.String("password"),
Password: c.String("password"),
IsActive: true,
IsAdmin: c.Bool("admin"),
}); err != nil {