Pending

User tests: Successful: Unsuccessful:

avatar brianteeman
brianteeman
5 Aug 2026

Pull Request resolves # .

  • I read the Generative AI policy and my contribution is either not created with the help of AI or is compatible with the policy and GNU/GPL 2 or later.

Summary of Changes

IF for some reason your site does not have a $secret in the configuration.php and you try to see an api token then the field will be empty. This PR adds a log explaining the reason for the token to be blank

I didn't think it was possible not to have a $secret but I saw this on a live site - possibly created by a hosts own joomla creation script

Testing Instructions

Go to the Joomla Api Token of your own user account
There should be an API token displayed
Edit configuration.php and remove the line public $secret
Check your token again and it is empty
Enable logging (Log Almost Everything) in the admin
Check your token again

Actual result BEFORE applying this Pull Request

There is nothing in the logs

Expected result AFTER applying this Pull Request

the log file everything.php now contains an explanation why the field is blank

Link to documentations

Please select:

  • Documentation link for guide.joomla.org:

  • No documentation changes for guide.joomla.org needed

  • Pull Request link for manual.joomla.org:

  • No documentation changes for manual.joomla.org needed

avatar brianteeman brianteeman - open - 5 Aug 2026
avatar brianteeman brianteeman - change - 5 Aug 2026
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 5 Aug 2026
Category Front End Plugins

Add a Comment

Login with GitHub to post a comment