From 293ffc00c37f39d622d7fe3ca028901b01f67ee3 Mon Sep 17 00:00:00 2001 From: RockChinQ <1010553892@qq.com> Date: Wed, 14 Aug 2024 13:06:27 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BF=AE=E6=94=B9=E7=AE=97=E6=B3=95?= =?UTF-8?q?=E4=B8=8D=E5=8C=B9=E9=85=8D=E6=97=B6=E7=9A=84=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/service/account.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/service/account.go b/backend/service/account.go index 7be68ba..5581288 100644 --- a/backend/service/account.go +++ b/backend/service/account.go @@ -68,7 +68,7 @@ func (as *AccountService) CheckAccount(uin int64, pwd string) (string, error) { valid, err = util.ComparePasswordAndHash(pwd, acc.Pwd) if err != nil { if err == util.ErrInvalidHash { - return "", errors.New("hash 算法已更改,请重置密码") + return "", errors.New("算法已更改 请点击忘记密码以重置") } return "", err