Loading src/Controller/MobileIdController.php +1 −1 Changes for src/Controller/MobileIdController.php: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -131,7 +131,7 @@ class MobileIdController extends ControllerBase { $resource_location = NULL; if ($config->get('mobile_id_resource_location')) { $resource_location = DRUPAL_ROOT . '/' . $config->get('mobile_id_resource_location'); $resource_location = $config->get('mobile_id_resource_location'); } if (empty($resource_location)) { Loading src/Controller/SmartIdController.php +8 −1 Changes for src/Controller/SmartIdController.php: 8 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -125,9 +125,16 @@ class SmartIdController extends ControllerBase { $resource_location = NULL; if ($config->get('smart_id_resource_location')) { $resource_location = DRUPAL_ROOT . '/' . $config->get('smart_id_resource_location'); $resource_location = $config->get('smart_id_resource_location'); } if (empty($resource_location)) { // Default to test certificates. $resource_location = DRUPAL_ROOT . '/' . '../vendor/sk-id-solutions/smart-id-php-client/tests/resources'; } $resource_location = rtrim($resource_location, '/') . '/'; try { $authenticationResponseValidator = new AuthenticationResponseValidator($resource_location); } Loading Loading
src/Controller/MobileIdController.php +1 −1 Changes for src/Controller/MobileIdController.php: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -131,7 +131,7 @@ class MobileIdController extends ControllerBase { $resource_location = NULL; if ($config->get('mobile_id_resource_location')) { $resource_location = DRUPAL_ROOT . '/' . $config->get('mobile_id_resource_location'); $resource_location = $config->get('mobile_id_resource_location'); } if (empty($resource_location)) { Loading
src/Controller/SmartIdController.php +8 −1 Changes for src/Controller/SmartIdController.php: 8 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -125,9 +125,16 @@ class SmartIdController extends ControllerBase { $resource_location = NULL; if ($config->get('smart_id_resource_location')) { $resource_location = DRUPAL_ROOT . '/' . $config->get('smart_id_resource_location'); $resource_location = $config->get('smart_id_resource_location'); } if (empty($resource_location)) { // Default to test certificates. $resource_location = DRUPAL_ROOT . '/' . '../vendor/sk-id-solutions/smart-id-php-client/tests/resources'; } $resource_location = rtrim($resource_location, '/') . '/'; try { $authenticationResponseValidator = new AuthenticationResponseValidator($resource_location); } Loading