Merge pull request #1473 from mstruk/KEYCLOAK-1560

KEYCLOAK-1560 IDENTITY_PROVIDER_LOGIN event is send twice
This commit is contained in:
Stian Thorgersen 2015-07-21 10:28:32 +02:00
commit 2dd2173553

View file

@ -144,7 +144,6 @@ public class IdentityBrokerService implements IdentityProvider.AuthenticationCal
Response response = identityProvider.performLogin(createAuthenticationRequest(providerId, clientSessionCode)); Response response = identityProvider.performLogin(createAuthenticationRequest(providerId, clientSessionCode));
if (response != null) { if (response != null) {
this.event.success();
if (isDebugEnabled()) { if (isDebugEnabled()) {
LOGGER.debugf("Identity provider [%s] is going to send a request [%s].", identityProvider, response); LOGGER.debugf("Identity provider [%s] is going to send a request [%s].", identityProvider, response);
} }