Fix update password error bug 🐛
This commit is contained in:
parent
27f073cbbf
commit
59b376c93e
|
@ -118,7 +118,7 @@ func PreferenceHandler(w http.ResponseWriter, r *http.Request) {
|
||||||
user.FontSize = args.FontSize
|
user.FontSize = args.FontSize
|
||||||
user.GoFormat = args.GoFmt
|
user.GoFormat = args.GoFmt
|
||||||
user.Workspace = args.Workspace
|
user.Workspace = args.Workspace
|
||||||
user.Password = args.Password
|
user.Password = conf.Salt(args.Password, user.Salt)
|
||||||
user.Email = args.Email
|
user.Email = args.Email
|
||||||
|
|
||||||
hash := md5.New()
|
hash := md5.New()
|
||||||
|
|
Loading…
Reference in New Issue