Allow public registration module to hook into email system

This commit is contained in:
James Allen 2015-03-19 17:19:56 +00:00
parent 185514ea35
commit e2d515f957
2 changed files with 1 additions and 2 deletions

View file

@ -89,6 +89,7 @@ templates.projectSharedWithYou =
"""
module.exports =
templates: templates
buildEmail: (templateName, opts)->
template = templates[templateName]

View file

@ -6,9 +6,7 @@ UserRegistrationHandler = require("./UserRegistrationHandler")
logger = require("logger-sharelatex")
metrics = require("../../infrastructure/Metrics")
Url = require("url")
AuthenticationController = require("../Authentication/AuthenticationController")
AuthenticationManager = require("../Authentication/AuthenticationManager")
ReferalAllocator = require("../Referal/ReferalAllocator")
UserUpdater = require("./UserUpdater")
SubscriptionDomainAllocator = require("../Subscription/SubscriptionDomainAllocator")
EmailHandler = require("../Email/EmailHandler")