summaryrefslogtreecommitdiffstats
path: root/cmd
diff options
context:
space:
mode:
Diffstat (limited to 'cmd')
-rw-r--r--cmd/admin.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/admin.go b/cmd/admin.go
index 27089a17c4..b4fc7f5706 100644
--- a/cmd/admin.go
+++ b/cmd/admin.go
@@ -366,7 +366,7 @@ func runChangePassword(c *cli.Context) error {
return err
}
- if err = models.UpdateUserCols(user, "passwd", "passwd_hash_algo", "salt"); err != nil {
+ if err = models.UpdateUserCols(db.DefaultContext, user, "passwd", "passwd_hash_algo", "salt"); err != nil {
return err
}