How do I make a button disabled for users not logged into the app?
I'm using ParseDB and when a user logs in, the sessiontoken is stored as a local storage variable.
I need a way to check if the local storage variable is empty, the button to be disable but if there is a value the button becomes enabled.
Please help.