Skip to content

Commit

Permalink
fix: decorate the CasUserProvider properly
Browse files Browse the repository at this point in the history
  • Loading branch information
drupol committed Feb 8, 2023
1 parent 679a4e4 commit 7aa24ee
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Resources/config/services.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@

$services
->set('eulogin.userprovider', EuLoginUserProvider::class)
->arg('$casUserProvider', service('cas.userprovider'));
->decorate('cas.userprovider')
->arg('$casUserProvider', service('.inner'));
$services->alias(EuLoginUserProvider::class, 'eulogin.userprovider');

$services
Expand Down

0 comments on commit 7aa24ee

Please sign in to comment.