Simple auth
This commit is contained in:
parent
0b901a8a9f
commit
f3f3a6e22f
2 changed files with 5 additions and 25 deletions
|
|
@ -15,8 +15,4 @@ Open `index.html` in a browser to use it.
|
|||
|
||||
## Secret
|
||||
|
||||
The current demo secret is `change-me`. Before publishing, replace `AUTH_SECRET_HASH` in `app.js` with the SHA-256 hash of your real secret. This is a simple client-side gate, not strong server-side security.
|
||||
|
||||
```sh
|
||||
printf 'your-secret' | sha256sum
|
||||
```
|
||||
The current demo secret is `change-me`. Before publishing, replace `AUTH_SECRET` in `app.js` with your real secret. This is a simple client-side gate, not strong server-side security.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue