vibe-d/vibe.d

No auth in RedisSessionStore

vajrabisj opened this issue · 0 comments

I have the Redis URL as redis://:password@host, I can use auto rc = new RedisClient(host, port) and then use rc.auth(password) and then rc.getDatabase(0), it is successful. But when using settings.sessionstore = new RedisSessionstore(host,0,port), I never succeeded whenever using which kind of host (with or without redis://: etc). sometime the error msg is Fail to connect to server. sometime error is "auth needed".

but when I look into the sessionstore.d, seems there is no way to explicitly to use auth. so help needed to solve this no auth issue by using RedisSessionstore.

thanks in advance.