aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/functions_mail.inc.php8
1 files changed, 7 insertions, 1 deletions
diff --git a/include/functions_mail.inc.php b/include/functions_mail.inc.php
index 01a65091b..cf982bcf3 100644
--- a/include/functions_mail.inc.php
+++ b/include/functions_mail.inc.php
@@ -555,7 +555,13 @@ SELECT
}
}
- $return &= pwg_mail($u['email'], $args, $user_tpl);
+ $user_args = $args;
+ if ($authkey !== false)
+ {
+ $user_args['auth_key'] = $authkey['auth_key'];
+ }
+
+ $return &= pwg_mail($u['email'], $user_args, $user_tpl);
}
switch_lang_back();