From 34b75927f2136ca686d0c710518c5734f0a07b6d Mon Sep 17 00:00:00 2001 From: Andras Bacsai <5845193+andrasbacsai@users.noreply.github.com> Date: Tue, 15 Apr 2025 18:58:00 +0200 Subject: [PATCH] fix(redis): update username and password input handling to clarify database sync requirements --- .../project/database/redis/general.blade.php | 35 ++++++++++++++----- 1 file changed, 27 insertions(+), 8 deletions(-) diff --git a/resources/views/livewire/project/database/redis/general.blade.php b/resources/views/livewire/project/database/redis/general.blade.php index 20acf52c0..577c0d3e9 100644 --- a/resources/views/livewire/project/database/redis/general.blade.php +++ b/resources/views/livewire/project/database/redis/general.blade.php @@ -13,22 +13,41 @@ helper="For all available images, check here:

https://hub.docker.com/_/redis" />
- @if (version_compare($redis_version, '6.0', '>=')) - If you change the values in the database, please sync it here, + otherwise + automations won't work.
Changing them here will not change the values in the database. +
+
+ @if (version_compare($redis_version, '6.0', '>=')) + + @endif + +
+ @else +
You can only change the username and password in the database after + initial start.
+
+ @if (version_compare($redis_version, '6.0', '>=')) + - @endif - isSharedVariable('REDIS_USERNAME')" /> + @endif + + :disabled="$this->isSharedVariable('REDIS_PASSWORD')" /> +
+ @endif