feat: sync login email verification support
This commit is contained in:
parent
e0cabb4930
commit
9a501f900a
39 changed files with 2198 additions and 117 deletions
17
.env.example
17
.env.example
|
|
@ -5,6 +5,23 @@ TELESRV_LISTEN=0.0.0.0:2398
|
|||
TELESRV_ADVERTISE_IP=127.0.0.1
|
||||
TELESRV_DC=2
|
||||
TELESRV_DEV_AUTH_CODE=12345
|
||||
TELESRV_AUTH_CODE_TTL=5m
|
||||
TELESRV_AUTH_CODE_MAX_ATTEMPTS=5
|
||||
|
||||
# Optional login-email verification. When enabled, accounts with a confirmed
|
||||
# login email receive login codes by email; REQUIRE_SETUP also forces new/legacy
|
||||
# accounts without a login email to set one during the phone login flow.
|
||||
TELESRV_LOGIN_EMAIL_ENABLE=false
|
||||
TELESRV_LOGIN_EMAIL_REQUIRE_SETUP=false
|
||||
TELESRV_LOGIN_EMAIL_CODE_LENGTH=6
|
||||
TELESRV_SMTP_HOST=
|
||||
TELESRV_SMTP_PORT=587
|
||||
TELESRV_SMTP_USERNAME=
|
||||
TELESRV_SMTP_PASSWORD=
|
||||
TELESRV_SMTP_FROM=
|
||||
TELESRV_SMTP_FROM_NAME=telesrv
|
||||
TELESRV_SMTP_TLS=starttls
|
||||
TELESRV_SMTP_TIMEOUT=10s
|
||||
|
||||
# Client-visible telesrv links. Production uses https://telesrv.net.
|
||||
# For local link/deeplink smoke tests use http://127.0.0.1:2401.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue