diff --git a/app/config/services.neon b/app/config/services.neon index 97d5ba442..ec8c2f055 100644 --- a/app/config/services.neon +++ b/app/config/services.neon @@ -158,7 +158,7 @@ services: - MichalSpacekCz\Training\Trainings\Trainings - MichalSpacekCz\Training\Venues\TrainingVenues - MichalSpacekCz\Twitter\TwitterCards - - MichalSpacekCz\UpcKeys\Technicolor(@database.upcKeys.explorer, apiUrl: %awsLambda.upcKeys.url%, apiKey: %awsLambda.upcKeys.apiKey%) + - MichalSpacekCz\UpcKeys\Technicolor(@database.upcKeys.explorer, @typedDatabase.upcKeys, apiUrl: %awsLambda.upcKeys.url%, apiKey: %awsLambda.upcKeys.apiKey%) - MichalSpacekCz\UpcKeys\Ubee(@typedDatabase.upcKeys) - MichalSpacekCz\UpcKeys\UpcKeys(routers: [@MichalSpacekCz\UpcKeys\Technicolor, @MichalSpacekCz\UpcKeys\Ubee]) - MichalSpacekCz\User\Manager(passwordEncryption: @passwordEncryption, permanentLoginInterval: %permanentLogin.interval%) diff --git a/app/public/www.michalspacek.cz/i/css/upc/screen.css b/app/public/www.michalspacek.cz/i/css/upc/screen.css index 88922b660..2093f402b 100644 --- a/app/public/www.michalspacek.cz/i/css/upc/screen.css +++ b/app/public/www.michalspacek.cz/i/css/upc/screen.css @@ -35,7 +35,6 @@ h3 { color: #777; } #result form { text-align: center; } #frm-ssid-ssid { width: 100px; } #result table { margin: 2em auto; } -#result tbody, #result tfoot { font-size: 120%; } #result td { width: 9em; text-align: center; diff --git a/app/src/Http/Client/HttpClient.php b/app/src/Http/Client/HttpClient.php index 90f7d9441..edd046f75 100644 --- a/app/src/Http/Client/HttpClient.php +++ b/app/src/Http/Client/HttpClient.php @@ -108,7 +108,7 @@ private function request(HttpClientRequest $request, $context): HttpClientRespon if ($result === false) { throw new HttpClientRequestException($request->getUrl()); } - if (is_array($options['ssl'])) { + if (isset($options['ssl']) && is_array($options['ssl'])) { $certificate = isset($options['ssl']['peer_certificate']) && $options['ssl']['peer_certificate'] instanceof OpenSSLCertificate ? $options['ssl']['peer_certificate'] : null;