~fkooman/vpn-user-portal

ad7ef4a0ec1a266cb93b8813ecc4322f32df98b0 — François Kooman 3 months ago a305375
update error message
1 files changed, 1 insertions(+), 1 deletions(-)

M src/VpnApiModule.php
M src/VpnApiModule.php => src/VpnApiModule.php +1 -1
@@ 128,7 128,7 @@ class VpnApiModule implements ServiceModuleInterface
                        }

                        if (!\in_array($requestedProfileId, $availableProfiles, true)) {
                            return new JsonResponse(['error' => 'profile not available, or no permission'], 400);
                            return new JsonResponse(['error' => 'profile not available'], 400);
                        }

                        $tcpOnly = 'on' === InputValidation::tcpOnly($request->optionalPostParameter('tcp_only'));