diff --git a/src/SuplaBundle/Twig/FrontendConfig.php b/src/SuplaBundle/Twig/FrontendConfig.php index b41869789..25e07d735 100644 --- a/src/SuplaBundle/Twig/FrontendConfig.php +++ b/src/SuplaBundle/Twig/FrontendConfig.php @@ -49,7 +49,7 @@ public function getConfig() { return array_merge( $parameters, [ - 'isCloudRegistered' => !$this->autodiscover->isTarget(), + 'isCloudRegistered' => $this->autodiscover->isTarget(), 'max_upload_size' => [ 'file' => $this->getMaxUploadSizePerFile(), 'total' => $this->getMaxUploadSize(),