master
wangning 7 years ago
parent fe8f851731
commit 91e340f3c8

@ -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"));

@ -52,7 +52,7 @@
<form action="" method="post">
<div class="form-group has-feedback">
<input type="text" id="userName" class="form-control" placeholder="User Names">
<input type="text" id="userName" class="form-control" placeholder="User Names" readonly="readonly">
<span class="glyphicon glyphicon-user form-control-feedback"></span>
</div>

Loading…
Cancel
Save