Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Sign-up email Prompt “An error occurred.” #507

Closed
coppea opened this issue Aug 7, 2021 · 5 comments
Closed

Sign-up email Prompt “An error occurred.” #507

coppea opened this issue Aug 7, 2021 · 5 comments

Comments

@coppea
Copy link

coppea commented Aug 7, 2021

I'm sorry if I can't speak English well.

I use Docker to install

.env The configuration is as follows

PORT=3000

SITE_NAME=xxxxx
DEFAULT_DOMAIN=xxxxxx.com
LINK_LENGTH=5
DB_HOST=postgres
DB_PORT=5432
DB_NAME=postgres
DB_USER=
DB_PASSWORD=
DB_SSL=false
.......
ADMIN_EMAILS=xxxxx@outlook.com
MAIL_HOST=smtp.office365.com
MAIL_PORT=587
MAIL_SECURE=false
MAIL_requireTLS=true
MAIL_USER=
MAIL_FROM=xxxxxx@outlook.com
MAIL_PASSWORD=xxxxxxxxx

REPORT_EMAIL=xxxxxx@outlook.com

CONTACT_EMAIL=xxxxx@outlook.com

Prompt this
截屏2021-08-07 15 12 15

#269 ”but you can connect to the database, go to the users table, find your user, and retrieve the verification_token, then put that in a URL“
Excuse me, is this also applicable to docker? how to operate it?

@coppea
Copy link
Author

coppea commented Aug 8, 2021

docker postgres
How to link postgres to find token
@#269 (comment)

@coppea coppea closed this as completed Aug 8, 2021
@BuckyTM
Copy link

BuckyTM commented Dec 19, 2021

How did you do it?

@aparaschiv
Copy link

For docker you can try docker exec -ti $CONTAINER_NAME psql -U $DB_USER -c "SELECT verification_token FROM users WHERE email='yourmail@provider.com';"

@Just-Dawn-it
Copy link

docker exec -ti kutt-postgres-1 psql -U user -c "SELECT verification_token FROM users WHERE email='XXXXXX@gmail.com';"
The following error occurred in the run command
图片
The following figure shows the configuration file
图片

@coppea
Copy link
Author

coppea commented May 26, 2022

docker exec -ti kutt-postgres-1 psql -U user -c "SELECT verification_token FROM users WHERE email='XXXXXX@gmail.com';"
The following error occurred in the run command
图片
The following figure shows the configuration file
图片
这些我都默认没有动,你重点关注email设置,可以换用腾讯企业邮箱试试

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants