close
The Wayback Machine - https://web.archive.org/web/20200714062521/https://github.com/enkodellc/blazorboilerplate/issues/98
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Track User Logins #98

Open
enkodellc opened this issue Dec 17, 2019 · 2 comments
Open

Track User Logins #98

enkodellc opened this issue Dec 17, 2019 · 2 comments

Comments

@enkodellc
Copy link
Owner

@enkodellc enkodellc commented Dec 17, 2019

The admin portion of BB is growing and I think another great feature that my current clients like is to track when users were last logged in. This also has the benefit to see if there are IP Addresses that are trying to brute force / guess logins.

Initially thoughts:

  • Create AspNetUsersLogin Table
  • After every user login add row
  • Create an Admin page to show user login history

Alternative method:

  • I suppose a query from the API Audit log could also do if we implement logger at the AccountManager. This would be a simpler process. Then we would only need to replicate the Audit Log screen with a filter for /account/login calls.
@VR-Architect
Copy link

@VR-Architect VR-Architect commented Dec 22, 2019

Thought? Could this be accomplished with the logging service and send to the log table as an event?

@enkodellc
Copy link
Owner Author

@enkodellc enkodellc commented Dec 23, 2019

That sounds like a great idea. If you can get BB running and want to take on the task let me know. Also if you haven't gotten on the gitter page you might be able to find other contributors there to help. https://gitter.im/blazorboilerplate/community The blazor thread has many helpful devs https://gitter.im/aspnet/Blazor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.