fix username support
@@ -213,6 +213,10 @@ impl Transform for RedisCluster {
}
}
+ if let Some(username) = self.client.username.as_deref() {
+ client = client.username(username.to_string());
+ }
+
if let Some(password) = self.client.password.as_deref() {
client = client.password(password.to_string());
}
