登录数据加密

v1.4.1
Parker 5 years ago
parent 182e1ce709
commit 2b4cf0c46c

@ -1,41 +0,0 @@
/**
* Copyright 2020 OPSLI https://www.opsli.com
* <p>
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
* <p>
* http://www.apache.org/licenses/LICENSE-2.0
* <p>
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
package org.opsli.modulars.system.login.entity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.opsli.common.annotation.validation.ValidationArgs;
import org.opsli.common.annotation.validation.ValidationArgsLenMax;
import org.opsli.common.annotation.validation.ValidationArgsLenMin;
import org.opsli.common.enums.ValiArgsType;
/**
*
*
* @author liuzp
* @since 2.0.0 2018-01-25
*/
@Data
@EqualsAndHashCode(callSuper = false)
public class LoginFormStr {
/** 登录信息 */
@ApiModelProperty(value = "登录信息")
@ValidationArgs({ValiArgsType.IS_NOT_NULL})
private String loginFormStr;
}

@ -194,8 +194,6 @@ opsli:
# 登录设置 # 登录设置
login: login:
# 登录开启RSA加密
login-rsa: true
# 失败次数 # 失败次数
slip-count: 5 slip-count: 5
# 失败N次后弹出验证码 (超过验证码阈值 弹出验证码) # 失败N次后弹出验证码 (超过验证码阈值 弹出验证码)

Loading…
Cancel
Save