Skip to content

Commit

Permalink
Make email verification optional for dev
Browse files Browse the repository at this point in the history
This changes our default to allowing users to login w/out verifying their pw,
but still sending the password to them via email.

I think this is better for dev,
so folks don't need to verify a fake email when just playing around locally.
ericholscher committed Apr 25, 2018

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent fb4c6cf commit 9535e11
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions readthedocs/settings/dev.py
Original file line number Diff line number Diff line change
@@ -23,6 +23,7 @@ def DATABASES(self): # noqa

DONT_HIT_DB = False

ACCOUNT_EMAIL_VERIFICATION = 'none'
SESSION_COOKIE_DOMAIN = None
CACHE_BACKEND = 'dummy://'

0 comments on commit 9535e11

Please sign in to comment.