diff options
author | Joe Chen <jc@unknwon.io> | 2022-10-22 14:56:25 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-22 14:56:25 +0800 |
commit | 7cbd84d5b3d4af36e4afcf7af9374bc765f6bb9c (patch) | |
tree | 74f4fd7f5df3af0680ddbb16c3c5f1b4985e5eb2 /internal/route/install.go | |
parent | c502dc6ed888a4cf2c8b36176585f4166536ab6d (diff) |
refactor(db): rename `User.Passwd` to `User.Password` (#7196)
Diffstat (limited to 'internal/route/install.go')
-rw-r--r-- | internal/route/install.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/route/install.go b/internal/route/install.go index 4a529655..2e0e05b9 100644 --- a/internal/route/install.go +++ b/internal/route/install.go @@ -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, } |