summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorLibravatar tobi <31960611+tsmethurst@users.noreply.github.com>2023-06-03 13:58:57 +0200
committerLibravatar GitHub <noreply@github.com>2023-06-03 13:58:57 +0200
commit21c1552daafbcedbd2e19b0c155ff8db9cff2be0 (patch)
tree00d945280a72d30d51acb618ad7257432d1f9e1a /cmd
parent[bugfix] Fix first item of thread dereferencing always being skipped (#1858) (diff)
downloadgotosocial-21c1552daafbcedbd2e19b0c155ff8db9cff2be0.tar.xz
[chore] Update versions, fix lint errors (#1860)
Diffstat (limited to 'cmd')
-rw-r--r--cmd/gotosocial/action/admin/account/account.go6
1 files changed, 1 insertions, 5 deletions
diff --git a/cmd/gotosocial/action/admin/account/account.go b/cmd/gotosocial/action/admin/account/account.go
index 4f45fd1b2..3941769ec 100644
--- a/cmd/gotosocial/action/admin/account/account.go
+++ b/cmd/gotosocial/action/admin/account/account.go
@@ -353,9 +353,5 @@ var Password action.GTSAction = func(ctx context.Context) error {
}
u.EncryptedPassword = string(pw)
- if err := dbConn.UpdateUser(ctx, u, "encrypted_password"); err != nil {
- return err
- }
-
- return nil
+ return dbConn.UpdateUser(ctx, u, "encrypted_password")
}