Fix update password error bug 🐛

This commit is contained in:
Liang Ding 2014-12-24 23:17:32 +08:00
parent 27f073cbbf
commit 59b376c93e
1 changed files with 1 additions and 1 deletions

View File

@ -118,7 +118,7 @@ func PreferenceHandler(w http.ResponseWriter, r *http.Request) {
user.FontSize = args.FontSize
user.GoFormat = args.GoFmt
user.Workspace = args.Workspace
user.Password = args.Password
user.Password = conf.Salt(args.Password, user.Salt)
user.Email = args.Email
hash := md5.New()