From 5b27089dd69c7825c7030b0f67039ff31ae5c261 Mon Sep 17 00:00:00 2001 From: Holger Reinhardt Date: Wed, 3 Aug 2016 15:33:38 +0200 Subject: [PATCH] change dsn so the password is passed correctly --- src/ResqueServiceProvider.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ResqueServiceProvider.php b/src/ResqueServiceProvider.php index 69c0efa..b8768de 100644 --- a/src/ResqueServiceProvider.php +++ b/src/ResqueServiceProvider.php @@ -57,7 +57,7 @@ class ResqueServiceProvider extends ServiceProvider $server = implode(':', [$host, $port]); if ($password) { - $server = implode('@', [$password, $server]); + $server = implode('@', [implode(':', ['', $password]), $server]); } $dsn = sprintf('redis://%s/%s', $server, $database);