SSO: Convert string interpolation to a sprintf call

pull/5968/head
Angel Fernando Quiroz Campos 9 months ago
parent 469768213d
commit 0be3bdc2a1
No known key found for this signature in database
GPG Key ID: B284841AE3E562CD
  1. 2
      src/CoreBundle/ServiceHelper/AuthenticationConfigHelper.php

@ -50,7 +50,7 @@ readonly class AuthenticationConfigHelper
$enabledProviders[] = [
'name' => $providerName,
'title' => $providerParams['title'] ?? u($providerName)->title(),
'url' => $this->urlGenerator->generate("chamilo.oauth2_{$providerName}_start"),
'url' => $this->urlGenerator->generate(sprintf("chamilo.oauth2_%s_start", $providerName)),
];
}
}

Loading…
Cancel
Save