Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Gepetto
dashboard
Commits
c8370f41
Commit
c8370f41
authored
Apr 12, 2018
by
Guilhem Saurel
Browse files
default to empty smtp user/pass
parent
f13891b6
Pipeline
#564
passed with stages
in 1 minute and 9 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
dashboard/settings.py
View file @
c8370f41
...
...
@@ -16,8 +16,8 @@ DEBUG = os.environ.get('DEBUG', 'False').lower() == 'true'
EMAIL_USE_SSL
=
True
EMAIL_HOST
=
os
.
environ
.
get
(
'EMAIL_HOST'
,
f
'smtp.
{
DOMAIN_NAME
}
'
)
EMAIL_HOST_PASSWORD
=
os
.
environ
[
'EMAIL_HOST_PASSWORD'
]
EMAIL_USER
=
os
.
environ
.
get
(
'EMAIL_USER'
,
'
majo
'
)
EMAIL_HOST_PASSWORD
=
os
.
environ
.
get
(
'EMAIL_HOST_PASSWORD'
,
''
)
EMAIL_USER
=
os
.
environ
.
get
(
'EMAIL_USER'
,
''
)
EMAIL_PORT
=
os
.
environ
.
get
(
'EMAIL_PORT'
,
465
)
EMAIL_FQDN
=
os
.
environ
.
get
(
'EMAIL_FQDN'
,
ALLOWED_HOSTS
[
0
]
if
SELF_MAIL
else
DOMAIN_NAME
)
EMAIL_HOST_USER
=
f
'
{
EMAIL_USER
}
@
{
EMAIL_FQDN
}
'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment