Skip to content

How to disable email confirmations? #2046

Answered by pglombardo
bliepp asked this question in Q&A
Discussion options

You must be logged in to vote

Not a dumb request at all. I'm planning some new features for this exact use case. But for now, there isn't an easy way to remove the account confirmation requirement.

You could manually confirm accounts from the application console. This directly modifies data though so be careful and maybe backup the database first.

  1. Get a shell into the Docker container (docker exec -it <container id> bash)
  2. cd /opt/PasswordPusher
  3. ./bin/pwpush console
  4. user = User.where(email: 'myemail@domain.com').first
  5. user.confirm
  6. user.save

or alternatively, add a date/time to the confirmed_at field for the user in the admin console (/admin).

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@bliepp
Comment options

@pglombardo
Comment options

Answer selected by bliepp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants