Logging user logins to the backoffice [Solved ✅]
# help-with-umbraco
s
As I remember, Umbraco used to log user logins to the backoffice - It seems that it has been removed in the latest versions? I can't figure out if it's just something I'm imagining 😅
s
You didn't tell us what version 😅
But I think there's still an umbracoAudit table, have you checked that?
s
Whatever version that could be classified to be in "the good old days" 😅 I am telling myself that it used to be logged in Umbraco 7 so it was possible to see which user logged in and the IP for the user.
s
Same in v7 and in 14 then 🙂
umbracoAudit
table (just checked in 14)
Just note that the IP is probably very unreliable, if you're behind CloudFlare it will just log the CloudFlare IP.
s
But haven't they been logged so that they could be seen in the Log Viewer?
s
That was removed for security/GDPR issues - we often ask people to share logs on the issue tracker and this is much to much sensitive information 😅
s
Ah! Makes sense!
s
If you need full control then there's `NotificationHandler`s/`EventHandler`s for login etc. For v9+ use
UserLogin*
notifcations. https://cdn.discordapp.com/attachments/1293127206423498752/1293129934914453597/image.png?ex=67064099&is=6704ef19&hm=2855eb2631ecff5f84aaa0bded309c3a5f1458e02c76849ea56340d0cdbc9f15&
s
Thanks! I just need to be able to see who signed in and when for auditing purposes. I guess some kind of dashboard that uses the
AuditService
would work if I don't want to check in the database each time.
s
Saves me some work! 😄 Thanks!
11 Views