changes for email signup
This commit is contained in:
parent
0fbfc8cd71
commit
3d9b0f1de7
15 changed files with 469 additions and 27 deletions
11
.env.example
11
.env.example
|
|
@ -51,6 +51,17 @@ TELESRV_SMTP_FROM_NAME=telesrv
|
|||
TELESRV_SMTP_TLS=starttls
|
||||
TELESRV_SMTP_TIMEOUT=10s
|
||||
|
||||
# Email-as-identity signup mode. When enabled, patched clients let the user
|
||||
# register/log in with an email address instead of a phone number: the client
|
||||
# encodes the email into a synthetic "888"-prefixed number and drives the
|
||||
# existing sendCode/signUp/signIn/changePhone flow unchanged; the server
|
||||
# decodes 888-numbers back to the email and delivers the code over SMTP
|
||||
# (same TELESRV_SMTP_* settings as login email above) instead of SMS.
|
||||
# account.changePhone is blocked from moving such an account to a number that
|
||||
# doesn't decode back to a valid email, since this server has no real SMS
|
||||
# delivery at all.
|
||||
TELESRV_EMAIL_SIGNUP_ENABLE=false
|
||||
|
||||
# Client-visible telesrv links. This is an HTTP(S) URL, not a listen address.
|
||||
# Production uses https://telesrv.net. For local link/deeplink smoke tests use
|
||||
# http://127.0.0.1:2401. Invalid schemes, credentials, query strings, fragments,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue