From: Vincent Vanwaelscappel Date: Tue, 5 Nov 2024 15:27:15 +0000 (+0100) Subject: wip #7175 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=d795ac5bc748eba926807641b7b429eb17db33fe;p=cubist_cms-back.git wip #7175 --- diff --git a/src/app/Magic/Models/ExternalServer.php b/src/app/Magic/Models/ExternalServer.php index 8ff4c5d..c20b7d1 100644 --- a/src/app/Magic/Models/ExternalServer.php +++ b/src/app/Magic/Models/ExternalServer.php @@ -34,7 +34,7 @@ class ExternalServer extends CubistMagicAbstractModel implements IServer $this->addField('port', Integer::class, __('Port'), ['hint' => __('Laisser vide pour utiliser le port par défaut'), 'default' => '', 'min' => 1, 'max' => 65536, 'when' => ['protocol' => $this->getPortProtocols()]]); $this->addField('username', Text::class, __('Nom d\'utilisateur'), ['when' => ['protocol' => $this->getUsernameProtocols()]]); $this->addField('password', Password::class, __('Mot de passe'), ['when' => ['protocol' => $this->getPasswordProtocols()]]); - $this->addField('region', Text::class, __('Région'), ['when' => ['protocol' => 'S3']]); + $this->addField('region', Text::class, __('Région'), ['default' => 'eu-west-3', 'when' => ['protocol' => 'S3']]); $this->addField('endpoint', URL::class, __('Endpoint'), ['when' => ['protocol' => 'S3Compatible']]); $this->addField('access_key', Text::class, __('Clé d\'accès'), ['when' => ['protocol' => $this->getS3Protocols()]]); $this->addField('secret', Password::class, __('Secret'), ['when' => ['protocol' => $this->getS3Protocols()]]);