How to not log out a user if they're offline

I’m making a PWA and want to not log users out when they go offline as they won’t be able to login again due to the security enforcer being based on a database. Is there a way to do this? Thanks.

Community Page
Last updated: