mirror of
https://github.com/plausible/analytics.git
synced 2024-12-25 18:48:06 +03:00
65cc8980e0
* Add `nimble_totp`, `cloak` and `cloak_ecto` to project dependencies * Setup Cloak-based secrets vault and create a dedicated Ecto type * Add `totp_enabled|secret|last_used_at` fields to `User` schema * Implement schema and stateless logic for TOTP recovery codes * Implement core logic of TOTP auth * Fix typos and improve style of doc comments Co-authored-by: hq1 <hq@mtod.org> * Fix moduledoc alignment * Use more compact conditional expression Co-authored-by: hq1 <hq@mtod.org> * Disambiguate `I` as `7` when generating recovery codes (h/t @hq1) * Fix a typo in runtime config error message --------- Co-authored-by: hq1 <hq@mtod.org>
22 lines
769 B
Plaintext
22 lines
769 B
Plaintext
BASE_URL=http://localhost:8000
|
|
SECURE_COOKIE=false
|
|
DATABASE_URL=postgres://postgres:postgres@127.0.0.1:5432/plausible_dev
|
|
CLICKHOUSE_DATABASE_URL=http://127.0.0.1:8123/plausible_events_db
|
|
SECRET_KEY_BASE=/njrhntbycvastyvtk1zycwfm981vpo/0xrvwjjvemdakc/vsvbrevlwsc6u8rcg
|
|
TOTP_VAULT_KEY=Q3BD4nddbkVJIPXgHuo5NthGKSIH0yesRfG05J88HIo=
|
|
ENVIRONMENT=dev
|
|
MAILER_ADAPTER=Bamboo.LocalAdapter
|
|
LOG_LEVEL=debug
|
|
SELFHOST=false
|
|
DISABLE_CRON=true
|
|
ADMIN_USER_IDS=1
|
|
SHOW_CITIES=true
|
|
PADDLE_VENDOR_AUTH_CODE=895e20d4efaec0575bb857f44b183217b332d9592e76e69b8a
|
|
PADDLE_VENDOR_ID=3942
|
|
|
|
GOOGLE_CLIENT_ID=875387135161-l8tp53dpt7fdhdg9m1pc3vl42si95rh0.apps.googleusercontent.com
|
|
GOOGLE_CLIENT_SECRET=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
|
|
|
|
PROMEX_DISABLED=false
|
|
SITE_DEFAULT_INGEST_THRESHOLD=1000000
|