Skip to content

Latest commit

 

History

History
15 lines (10 loc) · 311 Bytes

README.md

File metadata and controls

15 lines (10 loc) · 311 Bytes

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...
}