소스 검색

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

Michelle.Chung 3 년 전
부모
커밋
56d0995b09
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      ruoyi-auth/src/main/java/org/dromara/auth/service/impl/PasswordAuthStrategy.java

+ 1 - 1
ruoyi-auth/src/main/java/org/dromara/auth/service/impl/PasswordAuthStrategy.java

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