Open Closed

Security Logging : activate/deactivate users based on last login duration #3374


User avatar
0
Yaduraj created

We have customized "AbpUsers" by adding a custom field "Status" for value Active/Deactivated. We manipulate this field based on Security Logging records for an login success action, to check the last login information. Somehow we have seen that "Status" field got updated for all the users as Deactivated. We are unsure if the success login actions are being recorded properly. Also, Security Logging would have too much records an might impact the performance.

Please guide if ABP framework v4.3.1 provides any API or implementation to activate/deactivate users if not login within a define time.

  • ABP Framework version: v4.3.1
  • UI type: Angular
  • DB provider: EF Core / PostgreSql
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace:
  • Steps to reproduce the issue:"
Markdown supported.
Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)

1 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    We have add IsActive to IdentityUser entity in 5.0. You can check this PR.

    https://github.com/abpframework/abp/pull/9991

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
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.8.0-preview. Updated on September 28, 2026, 11:44
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.