You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by br...@apache.org on 2021/10/11 16:00:12 UTC

[allura] branch master updated: Ensure audit log email is the same as what was actually used

This is an automated email from the ASF dual-hosted git repository.

brondsem pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/allura.git


The following commit(s) were added to refs/heads/master by this push:
     new 3797002  Ensure audit log email is the same as what was actually used
3797002 is described below

commit 379700207fe2fa5b4590f859db0fa7592d2f0039
Author: Dave Brondsema <db...@slashdotmedia.com>
AuthorDate: Mon Oct 11 11:59:57 2021 -0400

    Ensure audit log email is the same as what was actually used
---
 Allura/allura/controllers/auth.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Allura/allura/controllers/auth.py b/Allura/allura/controllers/auth.py
index aa558c0..5d5184a 100644
--- a/Allura/allura/controllers/auth.py
+++ b/Allura/allura/controllers/auth.py
@@ -248,7 +248,7 @@ class AuthController(BaseController):
 
         if user_record and email_record and email_record.confirmed:
             user_record.send_password_reset_email(email_record.email)
-            h.auditlog_user('Password recovery link sent to: %s', email, user=user_record)
+            h.auditlog_user('Password recovery link sent to: %s', email_record.email, user=user_record)
         elif is_site_admin(c.user):
             # this can be accessed via a site admin page, and sometimes email records are inconsistent
             # only site admins may be told if accounts exist or not