Hello, first post here! _o/
So, my team and I are trying to figure out how to achieve this.
We need to show a login prompt to the user in case they are not logged in, accessing the home page. We are going to apply some time interval to show it and also we might use some localStorage to control if the user has previously closed this prompt.
I found another post kind related with what I need, but it seems it didn’t have a solution:
Basicly the process would be like this:
- User access the home page
- We check if the user is logged in
- If not, set the timer
- Show the login prompt
Thanks in advance :)