mirror of
https://github.com/pterodactyl/panel.git
synced 2024-11-22 09:02:28 +01:00
Fixes redis password saving, closes #1428
This commit is contained in:
parent
8253246955
commit
50eb2a10ad
@ -8,6 +8,7 @@ This project follows [Semantic Versioning](http://semver.org) guidelines.
|
||||
* Fixes a bug with the location update API endpoint throwing an error due to an unexected response value.
|
||||
* Fixes bug where node creation API endpoint was not correctly requiring the `disk_overallocate` key.
|
||||
* Prevents an exception from being thrown when a database with the same name is created on two different hosts.
|
||||
* Fixes the redis password not saving correctly when setting up the environment from the command line.
|
||||
|
||||
### Changed
|
||||
* `allocation_limit` for servers now defaults to a null value, and is not required in PATCH/POST requests when adding
|
||||
|
@ -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')
|
||||
);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user