How to enable remember username and password option for ionic app login screen


#1

how to enable remember username and password option for ionic app login screen


#2

Save the username and authentication token/sessionKey in localStorage: http://diveintohtml5.info/storage.html
(storing the password there isn’t secure, since anyone can look at localStorage)

When the login page loads, look to see if you have data in localStorage. If you do, use it. If not, make the user login.