Skip to content

Commit 2f9982c

Browse files
committed
Merge pull request #46 from dziamid/master
Fix incorrect exception parameters for AuthenticationServiceException
2 parents 4f4c054 + 81ee930 commit 2f9982c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Security/Core/Authentication/Provider/SsoAuthenticationProvider.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ protected function createUser($username, array $attributes = array())
174174
throw new AuthenticationServiceException('The user provider must create an UserInterface object.');
175175
}
176176
} catch (\Exception $repositoryProblem) {
177-
throw new AuthenticationServiceException($repositoryProblem->getMessage(), $username, 0, $repositoryProblem);
177+
throw new AuthenticationServiceException($repositoryProblem->getMessage(), 0, $repositoryProblem);
178178
}
179179

180180
return $user;

0 commit comments

Comments
 (0)