fix: check for username separately form password
This commit is contained in:
@@ -167,7 +167,9 @@ class StartRedis
|
|||||||
|
|
||||||
if ($env->key === 'REDIS_PASSWORD') {
|
if ($env->key === 'REDIS_PASSWORD') {
|
||||||
$redis_password = $env->real_value;
|
$redis_password = $env->real_value;
|
||||||
} elseif ($env->key === 'REDIS_USERNAME') {
|
}
|
||||||
|
|
||||||
|
if ($env->key === 'REDIS_USERNAME') {
|
||||||
$redis_username = $env->real_value;
|
$redis_username = $env->real_value;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user