MSP-3427 added logout after password change
This commit is contained in:
1 parent
3a564dfae8
commit
4251ca3da9
6 files changed
+2853
-4
No files matched your search
+1
-1
@@ -246,7 +246,7 @@ func (u User) ChangePassword(ctx context.Context, userId int64, newPassword stri
|
||||
|
||||
_, err = u.db.Exec(ctx, q, args...)
|
||||
if err != nil {
|
||||
return errors.WithMessage(err, "user.repo.ChangePassword: exec query")
|
||||
return errors.WithMessagef(err, "user.repo.ChangePassword: exec query: %s", q)
|
||||
}
|
||||
|
||||
return nil
|
||||
|
||||
Reference in new issue
Block a user