Commit 3cbd98ba authored by Carine Dengler's avatar Carine Dengler
Browse files

fix: change smtp-user to smtp-username

--HG--
branch : 3.26
parent 7e972e210703
......@@ -1342,7 +1342,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-username'], self['smtp-password']
if fromaddr is None:
fromaddr = '%s <%s>' % (self['sender-name'], self['sender-addr'])
SMTP_LOCK.acquire()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment