I hereby claim:
- I am detroitenglish on github.
- I am detroitenglish (https://keybase.io/detroitenglish) on keybase.
- I have a public key ASB9tbntTS8l9WKLalS3fOLaPMmbh9c_oX-D9_sWZ0B1Rgo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| # Copy this file to directory /etc/caddy | |
| # i.e. as /etc/caddy/Caddyfile | |
| :80 { | |
| root /srv/pihole | |
| errors stderr | |
| proxy / 127.0.0.1:8012 { | |
| transparent |
| import zxcvbn from 'zxcvbn' | |
| import axios from 'axios' | |
| import crypto from 'crypto' | |
| // Input is first validated via native Fastify JSON-schema declaration | |
| export async function passwordStrengthChecker(req, reply) { | |
| const { password } = req.body | |
| let message, pwned, ok | |
| let { score } = zxcvbn(password) | |
| try { |
| <template lang="pug"> | |
| v-container( | |
| app, | |
| fill-height, | |
| fluid, | |
| ) | |
| #particles-js | |
| </template> | |
| <script> |