/simple-js-login

A simple client-side(d) single-user login & registration script that utilises localStorage

Primary LanguageJavaScriptGNU General Public License v3.0GPL-3.0

simple-js-login

A simple client-side(d) single-user login & registration script that utilises localStorage

USE it like this on any other HTML page



if(localStorage.getItem("logged-in") === "true") {
  //do stuff
} else {
  //display a message with link to login page...
}