diff --git a/pkg/profile.go b/pkg/profile.go index 0a9aa0f..7a9fb1b 100644 --- a/pkg/profile.go +++ b/pkg/profile.go @@ -108,6 +108,7 @@ func ProfileHandler() http.Handler { return } if ok := form.Validate(locale); ok { + //goland:noinspection SqlWithoutWhere cookie := conn.MustGetText(r.Context(), "", "update user_profile set name = $1, email = $2, lang_tag = $3 returning build_cookie()", form.Name.Value, form.Email.Value, form.Language.Selected) setSessionCookie(w, cookie) if form.Password.Value != "" {