Set up password auth

This commit is contained in:
heyarne 2022-08-11 08:06:01 +02:00
commit 9259a89c05

View file

@ -1,6 +1,14 @@
description: |
This is a somewhat random collection of statistics I found on the internet
that, let's hope, help me win arguments.
plugins:
datasette-auth-passwords:
diogenes_password_hash:
$env: "DIOGENES_PASSWORD"
actors:
diogenes:
id: "diogenes"
name: "Diogenes"
databases:
earth:
description: |
@ -25,3 +33,6 @@ databases:
source: "Our World In Data"
source_url: "https://ourworldindata.org/grapher/projected-population-by-country"
license: "CC-BY 4.0"
tracks: # this is for authenticated users only
allow:
id: diogenes