Skip to content

Commit 50eb2a1

Browse files
committed
Fixes redis password saving, closes pterodactyl#1428
1 parent 8253246 commit 50eb2a1

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ This project follows [Semantic Versioning](http://semver.org) guidelines.
88
* Fixes a bug with the location update API endpoint throwing an error due to an unexected response value.
99
* Fixes bug where node creation API endpoint was not correctly requiring the `disk_overallocate` key.
1010
* Prevents an exception from being thrown when a database with the same name is created on two different hosts.
11+
* Fixes the redis password not saving correctly when setting up the environment from the command line.
1112

1213
### Changed
1314
* `allocation_limit` for servers now defaults to a null value, and is not required in PATCH/POST requests when adding

app/Console/Commands/Environment/AppSettingsCommand.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -178,9 +178,7 @@ private function checkForRedis()
178178
if ($askForRedisPassword) {
179179
$this->output->comment(trans('command/messages.environment.app.redis_pass_help'));
180180
$this->variables['REDIS_PASSWORD'] = $this->option('redis-pass') ?? $this->output->askHidden(
181-
trans('command/messages.environment.app.redis_password'), function () {
182-
return '';
183-
}
181+
trans('command/messages.environment.app.redis_password')
184182
);
185183
}
186184

0 commit comments

Comments
 (0)