mirror of
https://github.com/Ride-The-Lightning/RTL.git
synced 2026-08-13 12:33:07 +02:00
The fixture added in #1621 set multiPass to "password". RTL blacklists weak passwords (PASSWORD_BLACKLIST in consts-enums-functions.ts: 'password', 'changeme', 'moneyprintergobrrr') and forces a change when one is used: login.component.ts sets defaultPassword: true, and app.component.ts then redirects to /rtl/settings/auth. So every login with the documented password was bounced to the change password screen and never reached the dashboard. The check is session based rather than first run only, so this happened on every fresh browser session, not just the first. Password is now 'rtldev'. .env documents why it must stay off the blacklist.
32 lines
1.1 KiB
Bash
32 lines
1.1 KiB
Bash
# Regtest dev fixture. NOT for production. Credentials here are throwaway.
|
|
|
|
COMPOSE_FILE=docker-compose.yml
|
|
COMPOSE_PROJECT_NAME=rtldev
|
|
|
|
# bitcoind. The rpcauth hash for these credentials is baked into docker-compose.yml;
|
|
# if you change the user/password here you must regenerate it (see README).
|
|
BITCOIN_HOST=bitcoind
|
|
BITCOIN_RPC_USER=rtldev
|
|
BITCOIN_RPC_PASSWORD=rtldev
|
|
BITCOIN_RPC_PORT=18443
|
|
BITCOIN_P2P_PORT=18444
|
|
BITCOIN_ZMQ_BLOCK_PORT=28334
|
|
BITCOIN_ZMQ_TX_PORT=28335
|
|
|
|
# LND. Ports are the container-internal ones (identical for every node);
|
|
# host-side mappings are assigned per node in docker-compose.yml.
|
|
LIGHTNING_REST_PORT=8080
|
|
LIGHTNING_RPC_PORT=10009
|
|
LIGHTNING_P2P_PORT=9735
|
|
|
|
# Host-side LND REST ports, one per node
|
|
ALICE_REST_PORT=8081
|
|
BOB_REST_PORT=8082
|
|
CAROL_REST_PORT=8083
|
|
|
|
# RTL. Must not be one of RTL's blacklisted weak passwords
|
|
# ('password', 'changeme', 'moneyprintergobrrr') or RTL forces a password change
|
|
# on every login and parks you on the auth settings screen. Set in
|
|
# rtl/RTL-Config.regtest.json as multiPass; this is only used for messages.
|
|
RTL_PORT=3000
|
|
RTL_PASSWORD=rtldev
|