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

@@ -185,7 +185,7 @@ func authenticatedUser(ctx *macaron.Context, sess session.Store) (_ *db.User, is
u := &db.User{
Name: webAuthUser,
Email: gouuid.NewV4().String() + "@localhost",
Passwd: webAuthUser,
Password: webAuthUser,
IsActive: true,
}
if err = db.CreateUser(u); err != nil {