https://github.com/peteee/simple-js-login
A simple client-side(d) single-user login & registration script that utilises localStorage
https://github.com/peteee/simple-js-login
client-side javascript localstorage login offline single-user single-user-system
Last synced: over 1 year ago
JSON representation
A simple client-side(d) single-user login & registration script that utilises localStorage
- Host: GitHub
- URL: https://github.com/peteee/simple-js-login
- Owner: peteee
- License: gpl-3.0
- Created: 2023-04-02T23:20:05.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-04-04T18:27:53.000Z (about 3 years ago)
- Last Synced: 2025-01-07T14:47:10.614Z (over 1 year ago)
- Topics: client-side, javascript, localstorage, login, offline, single-user, single-user-system
- Language: JavaScript
- Homepage:
- Size: 404 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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...
}