aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/admin.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/admin.go')
-rw-r--r--cmd/admin.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/admin.go b/cmd/admin.go
index 8989ec2ebd..6b8c26fc0c 100644
--- a/cmd/admin.go
+++ b/cmd/admin.go
@@ -335,7 +335,7 @@ func runChangePassword(c *cli.Context) error {
}
user.HashPassword(c.String("password"))
- if err := models.UpdateUserCols(user, "passwd", "salt"); err != nil {
+ if err := models.UpdateUserCols(user, "passwd", "passwd_hash_algo", "salt"); err != nil {
return err
}