chore: code cleanup
This commit is contained in:
@@ -30,7 +30,7 @@ class BpnAuthenticator extends AbstractLoginFormAuthenticator implements Authent
|
||||
private readonly EntityManagerInterface $entityManager,
|
||||
private readonly ApiClient $apiClient,
|
||||
private readonly LoggerInterface $logger,
|
||||
private readonly UserDataHandler $userDataHandler
|
||||
private readonly UserDataHandler $userDataHandler,
|
||||
) {
|
||||
}
|
||||
|
||||
@@ -100,7 +100,7 @@ class BpnAuthenticator extends AbstractLoginFormAuthenticator implements Authent
|
||||
ProfileResponse $profileResponse,
|
||||
string $email,
|
||||
string $password,
|
||||
?string $preferredRole
|
||||
?string $preferredRole,
|
||||
): ?User {
|
||||
// Fetch CRM attributes, early return in case of an API error
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user