mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-27 04:19:04 +08:00
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:
committed by
Sipke Schoorstra
parent
83f02b26b6
commit
48eeafe5ca
@@ -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 }
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user