diff options
Diffstat (limited to 'internal/processing/user/password.go')
-rw-r--r-- | internal/processing/user/password.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/processing/user/password.go b/internal/processing/user/password.go index 3475e005e..72ef5ffa7 100644 --- a/internal/processing/user/password.go +++ b/internal/processing/user/password.go @@ -44,7 +44,7 @@ func (p *Processor) PasswordChange(ctx context.Context, user *gtsmodel.User, old user.EncryptedPassword = string(newPasswordHash) - if err := p.db.UpdateUser(ctx, user, "encrypted_password"); err != nil { + if err := p.state.DB.UpdateUser(ctx, user, "encrypted_password"); err != nil { return gtserror.NewErrorInternalError(err) } |