Support

Admin Tools

#42438 Unable to close Admin on log-out

Posted in ‘Admin Tools for Joomla! 4 & 5’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

Joomla! version
4.4.14
PHP version
8.3
Admin Tools version
7.8.3 pro

Latest post by nicholas on Friday, 14 November 2025 00:42 CST

oharris

Even though I disabled and eventually uninstalled Admin Tools, I still have to enter username and password in extended pop-up for Administrator

 

Then when trying to log-out, I find I am still logged in with a "security token did not match" warning. See attached screenshot.

 

How can I resolve this? I simply want to go back to usual Joomla log-in and logout. No Admin Tools, which is now uninstalled.

System Task
system
The ticket information has been edited by Othniel (oharris).

System Task
system
The ticket information has been edited by Othniel (oharris).

nicholas
Akeeba Staff
Manager

Even though I disabled and eventually uninstalled Admin Tools

Therefore, it's not an Admin Tools Web Application Firewall issue. The code not only doesn't run, it's not even installed. You have already eliminated 80% of the troubleshooting with that statement.

This leaves us with .htaccess files.

I would start by deleting the .htaccess and .htpasswd files from your site's administrator directory. This will remove the administrator directory password protection. It doesn't have anything to do with your problem, but since you seem to be thrown out by the admin directory password let's get this out of the way.

The only other thing that could've been left behind is the .htaccess file in your site's root. Replace its contents with the contents of the htaccess.txt file provided by Joomla. This one might have something to do with your problem, but only if you have added any custom code yourself. Since I can't rule that out, I'd rather eliminate the possibility by "resetting" the file to "factory defaults" so to speak.

Beyond that, I seriously doubt that you are still logged into your administrator based on your issue description. This is easy to verify. If you can see the administrator login page you ARE NOT logged in. The login page can only be displayed when you are a Guest user. This is true for both the frontend and the administrator backend of every Joomla site since it was still called Mambo.

Most likely, the login form is submitted twice for some reason. The first one works and logs you in, the other one sees that you are now already logged in and since you got logged in Joomla rebuilt your session which also has the effect of invalidating the anti-CSRF token which leads to the message about non-matching tokens. I can't help with that, though. I have seen everything from DNS, to web server configuration, to Joomla Global Configuration, to third party extensions causing something like that over the past 20 years, but none of that has to do with my software.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!