Addon Clashing

Hi all, I troubleshooting an addon, and it's clashing with the default addon on cs cart "Social Login".

return array(CONTROLLER_STATUS_OK, $_REQUEST['dispatch']); this is my code.

By right it should redirect to the defined side but its not redirecting. It's redirecting to the default page.
But when I disable the "Social Login" addon then it's redirecting to the defined URL.

Anyone faced the same issue before, can anyone give me a solution for this.

Thank you.

Hello

Please try before

unset($_REQUEST['return_url']);

Not tested

Best regards

Robert

or use CONTROLLER_STATUS_REDIRECT