Skip to content

Commit

Permalink
env os setup
Browse files Browse the repository at this point in the history
  • Loading branch information
DOodle25 committed Oct 30, 2024
1 parent 320c6cf commit 6d6114a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions DIDBackend/DIDBackend/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"""

from pathlib import Path
import os

# Build paths inside the project like this: BASE_DIR / 'subdir'.
BASE_DIR = Path(__file__).resolve().parent.parent
Expand Down Expand Up @@ -176,10 +177,11 @@
EMAIL_HOST = 'smtp.gmail.com'
EMAIL_PORT = 587
EMAIL_USE_TLS = True
EMAIL_HOST_USER = '[email protected]'
EMAIL_HOST_PASSWORD = 'jadf dtgc uths mhqt'


EMAIL_HOST_USER = os.getenv('EMAIL_HOST_USER')
EMAIL_HOST_PASSWORD = os.getenv('EMAIL_HOST_PASSWORD')




Expand Down

0 comments on commit 6d6114a

Please sign in to comment.