diff options
Diffstat (limited to 'settings.go')
-rw-r--r-- | settings.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/settings.go b/settings.go index a10b901..4bde9dc 100644 --- a/settings.go +++ b/settings.go @@ -50,7 +50,7 @@ func settings(user model.User, sess *sessions.Session, req *http.Request) (inter hash, err := bcrypt.GenerateFromPassword([]byte(req.FormValue("Password")), bcrypt.DefaultCost) if err != nil { log.Printf("Error hashing password: %s", err) - outdata.Error = "Error while hashing password data." + outdata.Error = "Error while saving password." return outdata.Error, user } |