|
|
|
@ -413,7 +413,7 @@ public class SimpleClientApplyServiceImpl implements SimpleClientApplyService {
|
|
|
|
|
LoginInfo loginInfo = new LoginInfo();
|
|
|
|
|
loginInfo.setLoginId(loginAccount.getString("userName"));
|
|
|
|
|
loginInfo.setPassword(loginAccount.getString("password"));
|
|
|
|
|
JSONObject account = signInAccountService.accountCheck(loginInfo);
|
|
|
|
|
JSONObject account = signInAccountService.clientLoginCheck(loginInfo);
|
|
|
|
|
JSONObject client = clientManager.getClientInfo(account.getIntValue("client_id"));
|
|
|
|
|
if (!address.equals(client.getString("contact_email"))) {
|
|
|
|
|
throw new BadRequestException(LocaleSupport.localeMessage("error.login.password"));
|
|
|
|
|