@Quadratica opened this Issue on August 19th 2019

Hello,

i would like to have "Remember me" feature in Autologin Mode, but i know that this feature could be added in Matomo 3.12.0-b1, see below relative version code.

Despite everything, i tried to test already this functionality, but it doesn't work.
To test this function i've added "|| $action == 'logme'" in shouldHandleRememberMe() function:
https://github.com/matomo-org/matomo/blob/3.12.0-b1/plugins/Login/Login.php#L148

Below the code:

private function shouldHandleRememberMe()
{
     $module = Common::getRequestVar('module', false);
     $action = Common::getRequestVar('action', false);
     return ($module == 'Login' || $module == 'CoreHome') && (empty($action) || $action == 'index' || $action == 'login' || $action == 'logme' );
}
@tsteur commented on August 19th 2019 Member

I'm not much into it but thought this might work. Don't have the code open though. Make sure you pass the parameters properly etc. If you manage to figure out how to make it work feel free to create a PR 👍

Powered by GitHub Issue Mirror