Open Closed

UserId and Username is null in Logout action #434


User avatar
0
alper created
Support Team Director

Refer https://support.abp.io/QA/Questions/282#answer-fa14a68a-9fdf-7465-ce2d-39f7c1ad0319


2 Answer(s)
  • User Avatar
    0
    DanielAndreasen created

    Sometimes when a user logs out of the system the UserId and Username will not be logged in the abpscuritylogs table.

    Example:

    It has previously been noted that the issue will occur in the following scenarios:

    • the user might click the logout twice (browser sends both actions and the second one will be without UserId)
    • or the user clicks the Logout link from a bookmark or copy-paste the logout URL to the browser.

    However has also occured randomly for me outside of these scenarios in a session where I repeatedly login/logout (for the purpose of testing). I also find it it problematic that a UserId might not be logged if the user accidently presses the logout button twice.

  • User Avatar
    0
    alper created
    Support Team Director

    thank you. we have created an internal ticket (3456)

Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.0.0-preview. Updated on September 05, 2025, 09:28