Login to Joomla Backend with Superuser access
Go to Users => Manage
Disable any user
Go to Users => Users Action Log
See the latest activity. "User user2 logged out from admin"
'User user2 logged out from admin' activity should not be logged because 'user2' is not login to the Joomla backend.
Activity should not be logged.
Labels |
Added:
J3 Issue
|
Issue is on same action on user disable but its different one.
Status | New | ⇒ | Discussion |
Issue confirmed: Instead of something like "user XY blocked", the action log shows "user XY logged out from admin" when user XY is blocked by some super admin, but that user XY has not been logged in.
Based on Michael's comment, I assume the message would have to be generic such as User admin1 updated the user johndoe
.
Yes, just as you write it I remember that comment.
Thats why i asked if its the same Issue.
No, not the same. This issue here should be possible to be fixed because we already log user modifications. The other issue was about logging more details which would be new and technically not an easy thing.
It seems the onUserLogout event is triggered anyway, and this issues that log.
So I think somwhere the user is logged out (regardless if logged in or not) and so that event is fired.
As far as I understand this issue, the user modification is logged correctly, and so it only needs to surpress that user logout if the user is not logged in, or alternatively, surpress the log in that case.
If anyone has a quick idea how to do that, let us know here.
@mbabker Sorry when bothering you, but maybe you have an idea: The issue here seems not to be that the actions log just logs that some user was modified instead of logging the details. That's ok here. The problem here is that when a user is blocked, it seems there is made a forced logout even if the user is not logged in anywhere. And this logout action then triggers the event which logs the logout action, which is wrong in this case. Do you know where to look for that, and do you think it could be changed so the logout is not called when the user is not logged in? Or does this forced logout have some reason?
Status | Discussion | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2019-08-11 08:34:44 |
Closed_By | ⇒ | joomla-cms-bot |
Closed_By | joomla-cms-bot | ⇒ | alikon |
Set to "closed" on behalf of @alikon by The JTracker Application at issues.joomla.org/joomla-cms/25694
Thanks for your Report. Can you please read #25688? If its the same issue please close this one also.