Skip to content

Commit

Permalink
show contact email when send activation email (#6874)
Browse files Browse the repository at this point in the history
  • Loading branch information
imwhatiam authored Oct 11, 2024
1 parent 74d971e commit f474e3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion seahub/api2/endpoints/admin/users.py
Original file line number Diff line number Diff line change
Expand Up @@ -1434,7 +1434,7 @@ def put(self, request, email):
try:
send_html_email(_(u'Your account on %s is activated') % get_site_name(),
'sysadmin/user_activation_email.html',
{'username': user_obj.email},
{'username': email2contact_email(user_obj.email)},
None,
[email2contact_email(user_obj.email)])
update_status_tip = _('Edit succeeded, an email has been sent.')
Expand Down

0 comments on commit f474e3c

Please sign in to comment.