How to tell if a user is logged in?

About Support Support How to tell if a user is logged in?

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #3092
    Avatar for Pastor AndresPastor Andres
    Moderator

    Is there a way that we can utilize Javascript to know if the user is logged in on the app?

    #4789
    Avatar for Andy MoyleAndy Moyle
    Keymaster

    If the local storage token is set

    window.localStorage.getItem(‘token’);

    #4792
    Avatar for Pastor AndresPastor Andres
    Moderator

    Thank you again. It was just what i needed.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.