IP Login

Logout

2 years 1 month ago #61469

Sima's Avatar Sima

Hello Peter,

Is it possible besides to login via the IP address also to logout? And if not, is this something you can consider to include in the future?

Thanks,

Sima

2 years 1 month ago #61487

Peter van Westen's Avatar Peter van Westen Admin

No, IP Login only does the log in part.
How do you suggest the log out part should work?

2 years 1 month ago #61492

Sima's Avatar Sima

Didn't think much about it yet, but on first thought, either by adding a switch tot the secret key or having the ability to add a second secret key that would function as the logout. I use IP Login to do some automated tasks, so it would be useful that you also have the ability to logout because otherwise the Joomla session stays active until timeout.

2 years 1 month ago #61556

Peter van Westen's Avatar Peter van Westen Admin

You don't need IP Login to log out via a url.
Simply create a menu item for the 'Logout' and you can query that url directly:

index.php?option=com_users&view=login&layout=logout&task=user.menulogout&Itemid=123
(Replace the 123 with the menu item id)