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

@@ -390,7 +390,7 @@ func InstallPost(c *context.Context, f form.Install) {
u := &db.User{
Name: f.AdminName,
Email: f.AdminEmail,
Passwd: f.AdminPasswd,
Password: f.AdminPasswd,
IsAdmin: true,
IsActive: true,
}