From 57b2dba12b1afb4c7a8523691dc3a0b1da5a80ff Mon Sep 17 00:00:00 2001 From: wangning <164851225@qq.com> Date: Mon, 29 Jan 2018 11:19:04 +0800 Subject: [PATCH] fixbug --- .../manage/signin/core/impls/SignInAccountServiceImpl.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/au/com/royalpay/payment/manage/signin/core/impls/SignInAccountServiceImpl.java b/src/main/java/au/com/royalpay/payment/manage/signin/core/impls/SignInAccountServiceImpl.java index d7363a34a..b6a861943 100644 --- a/src/main/java/au/com/royalpay/payment/manage/signin/core/impls/SignInAccountServiceImpl.java +++ b/src/main/java/au/com/royalpay/payment/manage/signin/core/impls/SignInAccountServiceImpl.java @@ -148,12 +148,12 @@ public class SignInAccountServiceImpl implements SignInAccountService, Applicati private void validLoginInfo(LoginInfo loginInfo, JSONObject account) { if (account == null) { - throw new BadRequestException(LocaleSupport.localeMessage("login.error.password")); + throw new BadRequestException(LocaleSupport.localeMessage("error.login.password")); } String salt = account.getString("salt"); String pwdHash = loginInfo.getPasswordHashed(salt); if (!StringUtils.equals(pwdHash, account.getString("password_hash"))) { - throw new BadRequestException(LocaleSupport.localeMessage("login.error.password")); + throw new BadRequestException(LocaleSupport.localeMessage("error.login.password")); } }