Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
cubicweb
cubicweb
Commits
4d00bedef983
Commit
4caf9dc7
authored
Feb 17, 2021
by
Carine Dengler
Browse files
fix: change smtp-user to smtp-username
parent
965e12134acc
Pipeline
#35697
passed with stages
in 45 minutes and 1 second
Changes
1
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
cubicweb/cwconfig.py
View file @
4d00bede
...
...
@@ -1248,7 +1248,7 @@ the repository',
if connection to the smtp server failed, else True.
"""
server
,
port
=
self
[
'smtp-host'
],
self
[
'smtp-port'
]
smtp_user
,
smtp_password
=
self
[
'smtp-user'
],
self
[
'smtp-password'
]
smtp_user
,
smtp_password
=
self
[
'smtp-user
name
'
],
self
[
'smtp-password'
]
if
fromaddr
is
None
:
fromaddr
=
'%s <%s>'
%
(
self
[
'sender-name'
],
self
[
'sender-addr'
])
SMTP_LOCK
.
acquire
()
...
...
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