From 9d1871a6186cdd0db3d483398d63a6e28599764b Mon Sep 17 00:00:00 2001 From: Asim Aslam Date: Mon, 8 Nov 2021 14:55:01 +0000 Subject: [PATCH] fix typo --- user/handler/handler.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/user/handler/handler.go b/user/handler/handler.go index c87d73b..e288226 100644 --- a/user/handler/handler.go +++ b/user/handler/handler.go @@ -141,7 +141,7 @@ func (s *User) UpdatePassword(ctx context.Context, req *pb.UpdatePasswordRequest return errors.InternalServerError("user.updatepassword", err.Error()) } if req.NewPassword != req.ConfirmPassword { - return errors.InternalServerError("user.updatepassword", "Passwords don't math") + return errors.InternalServerError("user.updatepassword", "Passwords don't match") } salt, hashed, err := s.domain.SaltAndPassword(ctx, usr.Id)