Hi, is there is a way to get the last date of conn...
# support-questions-legacy
g
Hi, is there is a way to get the last date of connexion for a user ? The goal is to deactivate an account if a user has a big period of inactivity
r
hey @gwenael1249 we don't store the last active time of a user. But you could store that yourself by overriding the createNewSession function and the refresh session function from the session recipe to store the timestamp in your own db and use that
g
thanks. To well understand the method Session.getAllSessionHandlesForUser returns only not revoked session
r
correct. But that has nothing to do with what i said
g
it's just to confirm. Thanks the answer I know how to manage this use case now
5 Views