Adding SiteName to New Account Subject (#6935)

* Add SiteName to New Account Subject

When you run more than one Orchard CMS site, and you have to moderate the logins, it's nice to know which site a new account was created on.

* Update MembershipService.cs

Fixes #6935
This commit is contained in:
Dale Newman
2016-06-23 15:14:36 -04:00
committed by Sipke Schoorstra
parent 83f02b26b6
commit 48eeafe5ca

View File

@@ -118,7 +118,7 @@ namespace Orchard.Users.Services {
template.Metadata.Wrappers.Add("Template_User_Wrapper");
var parameters = new Dictionary<string, object> {
{"Subject", T("New account").Text},
{"Subject", T("New account on {0}.", _orchardServices.WorkContext.CurrentSite.SiteName).Text},
{"Body", _shapeDisplay.Display(template)},
{"Recipients", recipient.Email }
};