From e2d515f957adbc76ce6af35bb7837874fb9ae0c8 Mon Sep 17 00:00:00 2001 From: James Allen Date: Thu, 19 Mar 2015 17:19:56 +0000 Subject: [PATCH] Allow public registration module to hook into email system --- services/web/app/coffee/Features/Email/EmailBuilder.coffee | 1 + services/web/app/coffee/Features/User/UserController.coffee | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/services/web/app/coffee/Features/Email/EmailBuilder.coffee b/services/web/app/coffee/Features/Email/EmailBuilder.coffee index 7e04ae710f..064b59f7a8 100644 --- a/services/web/app/coffee/Features/Email/EmailBuilder.coffee +++ b/services/web/app/coffee/Features/Email/EmailBuilder.coffee @@ -89,6 +89,7 @@ templates.projectSharedWithYou = """ module.exports = + templates: templates buildEmail: (templateName, opts)-> template = templates[templateName] diff --git a/services/web/app/coffee/Features/User/UserController.coffee b/services/web/app/coffee/Features/User/UserController.coffee index 0b2031f1b6..ea3a6eeee0 100644 --- a/services/web/app/coffee/Features/User/UserController.coffee +++ b/services/web/app/coffee/Features/User/UserController.coffee @@ -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")