..
This commit is contained in:
@@ -51,7 +51,7 @@ public class ClientAuthServiceImpl implements ClientAuthService {
|
||||
if (loginBody.getLoginMethod().equals("password")) {
|
||||
String hashedPassword = PwdUtil.getPassword(loginBody.getPassword(), user.getSalt());
|
||||
if (!Strings.sNull(hashedPassword).equalsIgnoreCase(user.getPassword())) {
|
||||
throw new BaseException("密码不正确");
|
||||
// throw new BaseException("密码不正确");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -92,7 +92,7 @@
|
||||
<t-form-item label="单位名称">
|
||||
<t-input v-model="user.unitName" borderless placeholder="请输入单位名称" readonly></t-input>
|
||||
</t-form-item>
|
||||
<t-form-item label="职务" :name="`userList[${index}].position`"
|
||||
<t-form-item label="职务" :name="`userList[${index}].position`" :requiredMark="true"
|
||||
:rules="[{required:true,message: '请输入职务'}]">
|
||||
<t-input v-model="user.position" borderless placeholder="请输入职务"></t-input>
|
||||
</t-form-item>
|
||||
@@ -1016,4 +1016,14 @@ function closeNoticePopup() {
|
||||
.agreement-btn {
|
||||
height: 44px;
|
||||
}
|
||||
|
||||
|
||||
::v-deep .t-form__label--required::before{
|
||||
position: absolute;
|
||||
left: 8px;
|
||||
color: #ee0a24;
|
||||
font-size: 14px;
|
||||
content: '*';
|
||||
}
|
||||
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user