Update config.py.template to have the correct variable names & remove unused ones

This commit is contained in:
Roan 2020-05-21 21:36:01 +01:00 committed by GitHub
parent 8214292849
commit 47b2622d55
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -74,14 +74,14 @@ Player activation
ACTIVATE_PLAYER : bool ACTIVATE_PLAYER : bool
Activate player automatically so no email needs to be sent. Activate player automatically so no email needs to be sent.
Enabling this option requires a SendGrid API key. Enabling this option requires a SendGrid API key.
LEGACY_ACTIVATE_LINK : str LEGACY_REDIRECT_LINK : str
URL player is taken to for activation. URL player is taken to for activation.
VANILLA_ACTIVATE_LINK : str VANILLA_REDIRECT_LINK : str
URL player is taken to for activation. URL player is taken to for activation.
""" """
ACTIVATE_PLAYER = {{ if not .Env.WEB_SENDGRID_KEY }}True{{ else }}False{{ end }} ACTIVATE_PLAYER = {{ if not .Env.WEB_SENDGRID_KEY }}True{{ else }}False{{ end }}
VANILLA_ACTIVATE_LINK = '{{ .Env.WEB_VANILLA_PLAY }}' LEGACY_REDIRECT_LINK = '{{ .Env.WEB_LEGACY_PLAY }}'
LEGACY_ACTIVATE_LINK = '{{ .Env.WEB_LEGACY_PLAY }}' VANILLA_REDIRECT_LINK = '{{ .Env.WEB_VANILLA_PLAY }}'
""" """