mirror of
https://github.com/idanoo/laravel-resque.git
synced 2024-11-21 16:11:59 +00:00
change dsn so the password is passed correctly
This commit is contained in:
parent
fed81c55be
commit
5b27089dd6
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user