datastorm-open / shinymanager

Simple and secure authentification mechanism for single shiny applications.
https://datastorm-open.github.io/shinymanager/
386 stars 79 forks source link

Admin Logs not correctly recording users #71

Closed ferguskeatinge closed 3 years ago

ferguskeatinge commented 3 years ago

I have a shiny application that utilizes Shiny Manager, with multiple admins.

I believe the Admin logs page is not correctly showing the number or users that are accessing the application. Our server logs indicate far more than what the logs page is recording.

Many of our uses do not log out of the application, they simple exit their browser without pressing the log out button, could this be contributing to the issue?

Any advice on how to correctly get the admin page to record users?

Thank you.

bthieurmel commented 3 years ago

Hi,

I find a problem : if a admin connect the app, show the admin page, on go back to the app for example, we count two connection on logs page.. I'll try to correct that right now

Log out is not a bug / problem in count. If user logout using shinymanager, we save the date of logout on the same log data.

bthieurmel commented 3 years ago

Admin count / logs is fix