Просмотр исходного кода

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

Michelle.Chung 3 лет назад
Родитель
Сommit
56d0995b09

+ 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;