代码更新
This commit is contained in:
@@ -92,6 +92,9 @@ public class AuthorizationController {
|
||||
throw new BadRequestException("账号或密码错误");
|
||||
}
|
||||
|
||||
// 判断是否被锁
|
||||
if (!userDto.getEnabled()) throw new BadRequestException("账号未激活");
|
||||
|
||||
// 获取权限列表 - 登录查找权限
|
||||
List<String> permissionList = roleService.getPermissionList(userDto);
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
</el-input>
|
||||
</el-form-item>
|
||||
<el-form-item prop="password">
|
||||
<el-input v-model="loginForm.password" type="password" auto-complete="off" placeholder="密码" @keyup.enter.native="handleLogin">
|
||||
<el-input v-model="loginForm.password" type="password" auto-complete="new-password" placeholder="密码" @keyup.enter.native="handleLogin">
|
||||
<svg-icon slot="prefix" icon-class="password" class="el-input__icon input-icon" />
|
||||
</el-input>
|
||||
</el-form-item>
|
||||
|
||||
Reference in New Issue
Block a user