dear all
I try to implement another kind of login/logout redirection in a module.
I have found some concerning methodes in ProcessLogin that I try to call in the init() methode of my module:
class ProcessLoginRedirect extends ProcessLogin
{
public static function getModuleInfo()
{
return array(
'title' => 'Login Redirect',
'version' => 1,
'summary' => 'Define constant redirect page for login and logout process.',
'autoload' => true
);
}
public function init()
{
parent::init(); // required
$this->setLoginURL('/');
$this->setLogoutURL('/');
}
}
for testing, I try to redirect to the homepages frontend ('/'), but this does not work at all... I suppose, that this code is not called at all...
what do I wrong? what could I do for debugging?
thanks for help