Fixes redis password saving, closes #1428

This commit is contained in:
Dane Everitt 2019-03-02 15:38:46 -08:00
parent 8253246955
commit 50eb2a10ad
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
2 changed files with 2 additions and 3 deletions

View file

@ -178,9 +178,7 @@ class AppSettingsCommand extends Command
if ($askForRedisPassword) {
$this->output->comment(trans('command/messages.environment.app.redis_pass_help'));
$this->variables['REDIS_PASSWORD'] = $this->option('redis-pass') ?? $this->output->askHidden(
trans('command/messages.environment.app.redis_password'), function () {
return '';
}
trans('command/messages.environment.app.redis_password')
);
}