fixed method reference

pull/59/head
Justin Richer 13 years ago
parent d71d76c54e
commit eca43b7ae6

@ -104,8 +104,8 @@ public class ConnectAuthCodeTokenGranter implements TokenGranter {
}
AuthorizationRequest unconfirmedAuthorizationRequest = storedAuth.getAuthenticationRequest();
if (unconfirmedAuthorizationRequest.getRedirectUri() != null
&& !unconfirmedAuthorizationRequest.getRedirectUri().equals(redirectUri)) {
if (unconfirmedAuthorizationRequest.getRequestedRedirect() != null
&& !unconfirmedAuthorizationRequest.getRequestedRedirect().equals(redirectUri)) {
throw new RedirectMismatchException("Redirect URI mismatch.");
}

Loading…
Cancel
Save