Skip to content

Commit

Permalink
rollback auth_credentials
Browse files Browse the repository at this point in the history
  • Loading branch information
icegreg committed Jul 15, 2015
1 parent 3d505e7 commit c68bfde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dbmail/backends/mail.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def _insert_mailer_identification_head(self):
def _get_connection(self):
if self._template.auth_credentials:
return self._kwargs.pop('connection', None) or get_connection(
**self._template.from_email.get_auth())
**self._template.auth_credentials)
return self._kwargs.pop('connection', None)

def _get_template(self):
Expand Down

0 comments on commit c68bfde

Please sign in to comment.