瀏覽代碼

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