Dual login count in Audit_auditevent table
How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!
While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.
Legacy Article
You are viewing an article from our legacy "FastTrack"
publication program, made available for informational purposes. Articles
in this program were published without a requirement for independent
editing or verification and are provided"as is" without
guarantee.
Before using any information from this article, independently verify its
suitability for your situation and project.
Issue
-
When a new user is created and logged in for the first time, the login count in the audit_audit event table will show 2 instead of 1, and when he logs in again, the count will only increase by 1.
- How does the audit_auditevent table work in the case of the login count?
Environment
- Liferay DXP [All versions]
Resolution
- The first time, when the user logs in with the default password, the login count is 1.
- After that, when the user changes the default password and then logs in, the count is 2
- Therefore, when the user changes the default password and then login again, it will count as a log in event.
Did this article resolve your issue ?