diff --git a/jeecg-boot/jeecg-boot-base-core/src/main/java/org/jeecg/config/shiro/ShiroConfig.java b/jeecg-boot/jeecg-boot-base-core/src/main/java/org/jeecg/config/shiro/ShiroConfig.java index 59bef2e1..704f24be 100644 --- a/jeecg-boot/jeecg-boot-base-core/src/main/java/org/jeecg/config/shiro/ShiroConfig.java +++ b/jeecg-boot/jeecg-boot-base-core/src/main/java/org/jeecg/config/shiro/ShiroConfig.java @@ -290,7 +290,7 @@ public class ShiroConfig { RedisSentinelManager sentinelManager = new RedisSentinelManager(); sentinelManager.setMasterName(redisProperties.getSentinel().getMaster()); sentinelManager.setHost(String.join(",", redisProperties.getSentinel().getNodes())); - sentinelManager.setPassword(redisProperties.getSentinel().getPassword()); + sentinelManager.setPassword(redisProperties.getPassword()); sentinelManager.setDatabase(redisProperties.getDatabase()); return sentinelManager;