Go to the user manager, edit your super user and maybe save it once to generate a token in the "Joomla API Token" tab. Now set the "Reset" switch to yes and save again. Notice that the token stays the same.
The token changes.
The token stays the same
I couldn't find any code related to the reset in the plg_user_token plugin. Is this maybe currently missing?
Labels |
Added:
?
|
I can't reproduce either. What I've noticed is that the first 14 characters of the token remain the same, so on a small screen it may appear as if it had not changed.
Not reproducible. Here is code to reset: https://github.com/joomla/joomla-cms/blob/4.0-dev/plugins/user/token/token.php#L296
Status | New | ⇒ | Information Required |
Build | staging | ⇒ | 4.0-dev |
I thought that too initially, so this can be closed.
Let's wait a bit before we close it, maybe we get feedback before.
I've checked this quickly on that installation again and the tokens are both 100% identical. However I have to do some more tests and see if there are some side effects which come into play here. Anyway, I did the necessary steps probably 5 times and I always get the same token. Will report back soon.
Maybe that installation is broken somehow?
Does it have the code which Quy linked above? https://github.com/joomla/joomla-cms/blob/4.0-dev/plugins/user/token/token.php#L296
Labels |
Added:
Information Required
|
Status | Information Required | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2020-07-13 03:07:36 |
Closed_By | ⇒ | Quy |
Closing as non-reproducible.
I can not confirm - working fine for me