X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FSecurity%2FAuthentication.php;h=709267c79fbd981dc3895ec0144e0dc41b243fb7;hb=e56a53647bd5469551bf4f9ef2df50a5dd16b943;hp=0b2fc9f9cf3d15850b7c88cd053b6608fe98cf3b;hpb=e477cf215dace8f84c856952d865df28a182c83e;p=friendica.git diff --git a/src/Security/Authentication.php b/src/Security/Authentication.php index 0b2fc9f9cf..709267c79f 100644 --- a/src/Security/Authentication.php +++ b/src/Security/Authentication.php @@ -1,6 +1,6 @@ getName() !== 'home' && $this->session->exists('return_path')) { + if (DI::args()->getModuleName() !== 'home' && $this->session->exists('return_path')) { $this->baseUrl->redirect($this->session->get('return_path')); } }