diff options
Diffstat (limited to 'routers/admin')
-rw-r--r-- | routers/admin/users.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/admin/users.go b/routers/admin/users.go index 1081f3092f..02b8334564 100644 --- a/routers/admin/users.go +++ b/routers/admin/users.go @@ -200,7 +200,7 @@ func EditUserPost(ctx *context.Context, form auth.AdminEditUserForm) { ctx.Handle(500, "UpdateUser", err) return } - u.EncodePasswd() + u.HashPassword() } u.LoginName = form.LoginName |