Commits

Łukasz Langa  committed a76da39

move sensitive data to the environment

  • Participants
  • Parent commits a460f7a

Comments (0)

Files changed (1)

File src/langapl/settings-gondor.py

-SECRET_KEY = '+ru$flbk=pw)&^*tg&pcy*m8n)#05m54flnt=y=ni7b3&i!hu!'
-
 import os
 import urlparse
 
+SECRET_KEY = os.environ['SECRET_KEY']
+
 urlparse.uses_netloc.append("postgres")
 url = urlparse.urlparse(os.environ["GONDOR_DATABASE_URL"])
 DATA_DIR = (os.environ["GONDOR_DATA_DIR"] + '/').replace('//', '/')
 EMAIL_PORT = 587
 EMAIL_USE_TLS = True
 EMAIL_HOST_USER = "app@langa.pl"
-EMAIL_HOST_PASSWORD = "It9Vie|hahj7iegi"
+EMAIL_HOST_PASSWORD = os.environ["EMAIL_HOST_PASSWORD"]
 SERVER_EMAIL = "app+langapl@langa.pl"