emails: fixed bug in test email sending.

- AuthUser instance was wrongly used for user who sent the email which we don't support
This commit is contained in:
Marcin Kuzminski 2020-01-22 10:47:57 +01:00
parent 489cb7776c
commit 50f79f63c2

View file

@ -573,7 +573,7 @@ class AdminSettingsView(BaseAppView):
email_kwargs = {
'date': datetime.datetime.now(),
'user': c.rhodecode_user
'user': self._rhodecode_db_user
}
(subject, headers, email_body,