diff --git a/genti-auth/src/main/java/com/gt/genti/config/RedisConfigDeployProfile.java b/genti-auth/src/main/java/com/gt/genti/config/RedisConfigDeployProfile.java index dd4943a6..b0d0ebe0 100644 --- a/genti-auth/src/main/java/com/gt/genti/config/RedisConfigDeployProfile.java +++ b/genti-auth/src/main/java/com/gt/genti/config/RedisConfigDeployProfile.java @@ -22,15 +22,12 @@ public class RedisConfigDeployProfile { String host; @Value("${redis.port}") int port; - @Value("${redis.password}") - String password; @Bean public RedisConnectionFactory redisConnectionFactory() { RedisStandaloneConfiguration redisConfiguration = new RedisStandaloneConfiguration(); redisConfiguration.setHostName(host); redisConfiguration.setPort(port); - redisConfiguration.setPassword(password); return new LettuceConnectionFactory(redisConfiguration); }