mirror of
https://gitee.com/dromara/RuoYi-Vue-Plus.git
synced 2026-03-09 16:21:09 +08:00
update 同步 ruoyi
This commit is contained in:
@@ -43,9 +43,9 @@ public class SysRegisterService {
|
||||
// 校验用户类型是否存在
|
||||
String userType = UserType.getUserType(registerBody.getUserType()).getUserType();
|
||||
|
||||
boolean captchaOnOff = configService.selectCaptchaOnOff();
|
||||
boolean captchaEnabled = configService.selectCaptchaEnabled();
|
||||
// 验证码开关
|
||||
if (captchaOnOff) {
|
||||
if (captchaEnabled) {
|
||||
validateCaptcha(username, registerBody.getCode(), registerBody.getUuid(), request);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user