File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -351,6 +351,7 @@ class Base(Configuration):
351351 # Email Verification Configuration
352352 EMAIL_VERIFICATION_TOKEN_EXPIRY_TIME = 24 # Time in hours
353353 EMAIL_VERIFICATION_REQUIRED = False
354+ EMAIL_VERIFICATION_ENABLED = True
354355
355356
356357class Local (Base ):
@@ -544,6 +545,8 @@ class Production(Base):
544545
545546 EMAIL_ENABLED = True
546547 FRONTEND_ORIGIN = "https://play.battlecode.org"
548+ EMAIL_VERIFICATION_REQUIRED = True
549+ EMAIL_VERIFICATION_ENABLED = True
547550
548551 LOGGING : dict [str , Any ] = {
549552 ** _LOGGING_COMMON ,
Original file line number Diff line number Diff line change @@ -2,4 +2,4 @@ VITE_THIS_URL=https://play.battlecode.org
22VITE_BACKEND_URL = https://api.battlecode.org
33VITE_REPLAY_URL = https://play.battlecode.org
44GENERATE_SOURCEMAP = false
5- VITE_EMAIL_VERIFICATION_ENABLED = false
5+ VITE_EMAIL_VERIFICATION_ENABLED = true
You can’t perform that action at this time.
0 commit comments