Disable 4-digit code activation. #700
|
I am running local with docker-compose and I set DISABLE_AUTH and DISABLE_REGISTRATION. But I always get: Any suggestions to disable it? Thanks |
Replies: 3 comments 5 replies
|
Hmm. The app tries to verify each email address by sending a code, including the admin address. I suppose we could allow a mode where email confirmation is not required. To fix your situation you can either:
|
|
I am also having issues with this. I have a self hosted instance in EC2 and when I try to activate the account the email is not being sent. |
|
Although a bit "dirty", I am using the following workaround to automatically disable email verification. The #!/bin/sh
sleep 24 && psql -U 'postgres' -d 'plausible_db' -c "UPDATE users set email_verified=true;" &Then I modified the In the end, this will run sometime after the admin user is automatically created, thus the only command I need to run is @ukutaht I would love a cleaner way to remove email verification, such as using an environment variable. Also, the |
Hmm.
The app tries to verify each email address by sending a code, including the admin address. I suppose we could allow a mode where email confirmation is not required.
To fix your situation you can either:
UPDATE users set email_verified=true;. Instructions for accessing postgres directly: #621