Skip to content

Commit

Permalink
Set a default value for FROM_EMAIL
Browse files Browse the repository at this point in the history
  • Loading branch information
rolandgeider committed Jan 26, 2023
1 parent 4a8ef0f commit 18d3cab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extras/docker/development/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
EMAIL_TIMEOUT = 60

# Sender address used for sent emails
WGER_SETTINGS['EMAIL_FROM'] = f'wger Workout Manager <{env.str("FROM_EMAIL")}>'
WGER_SETTINGS['EMAIL_FROM'] = f'wger Workout Manager <{env.str("FROM_EMAIL", "[email protected]")}>'
DEFAULT_FROM_EMAIL = WGER_SETTINGS['EMAIL_FROM']

# Management
Expand Down

0 comments on commit 18d3cab

Please sign in to comment.