fix 修正配置引用写法错误 ;

2.X
Michelle.Chung 2023-07-24 21:30:28 +08:00
parent 81c1a2257c
commit 56d0995b09
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ import org.springframework.stereotype.Service;
@RequiredArgsConstructor @RequiredArgsConstructor
public class PasswordAuthStrategy implements IAuthStrategy { public class PasswordAuthStrategy implements IAuthStrategy {
@Value("{security.captcha.enabled}") @Value("${security.captcha.enabled}")
private Boolean captchaEnabled; private Boolean captchaEnabled;
private final SysLoginService loginService; private final SysLoginService loginService;