xf 10 月之前
父節點
當前提交
eeab95af80
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/XF.EasyCaching/StartupExtensions.cs

+ 1 - 1
src/XF.EasyCaching/StartupExtensions.cs

@@ -43,7 +43,7 @@ namespace XF.EasyCaching
                     .WithRedisBus(busConf =>
                     {
                         busConf.Endpoints.Add(new ServerEndPoint(options.Host, options.Port));
-
+                        busConf.Password = options.Password;
                         // do not forget to set the SerializerName for the bus here !!
                         busConf.SerializerName = "xjson";
                     });