Return-Path: X-Original-To: apmail-ignite-commits-archive@minotaur.apache.org Delivered-To: apmail-ignite-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 31E1617E69 for ; Tue, 16 Feb 2016 09:14:46 +0000 (UTC) Received: (qmail 56034 invoked by uid 500); 16 Feb 2016 09:14:46 -0000 Delivered-To: apmail-ignite-commits-archive@ignite.apache.org Received: (qmail 56000 invoked by uid 500); 16 Feb 2016 09:14:46 -0000 Mailing-List: contact commits-help@ignite.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ignite.apache.org Delivered-To: mailing list commits@ignite.apache.org Received: (qmail 55991 invoked by uid 99); 16 Feb 2016 09:14:46 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Feb 2016 09:14:46 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id BD537DFF85; Tue, 16 Feb 2016 09:14:45 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: anovikov@apache.org To: commits@ignite.apache.org Message-Id: <5fff7d84154f4cffbc3ad46bc2543263@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: ignite git commit: IGNITE-843 Changed mail message. Date: Tue, 16 Feb 2016 09:14:45 +0000 (UTC) Repository: ignite Updated Branches: refs/heads/ignite-843-rc2 b4d86be9a -> 3099e6b64 IGNITE-843 Changed mail message. Project: http://git-wip-us.apache.org/repos/asf/ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/3099e6b6 Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/3099e6b6 Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/3099e6b6 Branch: refs/heads/ignite-843-rc2 Commit: 3099e6b64d55b81bcadb5e48219f6d798b4b0b53 Parents: b4d86be Author: Andrey Authored: Tue Feb 16 16:15:09 2016 +0700 Committer: Andrey Committed: Tue Feb 16 16:15:09 2016 +0700 ---------------------------------------------------------------------- modules/control-center-web/src/main/js/serve/routes/admin.js | 2 +- modules/control-center-web/src/main/js/serve/routes/public.js | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ignite/blob/3099e6b6/modules/control-center-web/src/main/js/serve/routes/admin.js ---------------------------------------------------------------------- diff --git a/modules/control-center-web/src/main/js/serve/routes/admin.js b/modules/control-center-web/src/main/js/serve/routes/admin.js index c41a2f0..87f8bed 100644 --- a/modules/control-center-web/src/main/js/serve/routes/admin.js +++ b/modules/control-center-web/src/main/js/serve/routes/admin.js @@ -65,7 +65,7 @@ module.exports.factory = function(_, express, nodemailer, settings, mail, mongo) }) .then((user) => mail.send(user, 'Your account was deleted', `Hello ${user.username}!

` + - `You are receiving this e-mail because "${req.user.username}" remove your account on ${settings.smtp.username}.`, + `You are receiving this e-mail because "${req.user.username}" removed your account on ${settings.smtp.username}.`, 'Account was removed, but failed to send e-mail notification to user!') ) .catch((err) => mongo.handleError(res, err)); http://git-wip-us.apache.org/repos/asf/ignite/blob/3099e6b6/modules/control-center-web/src/main/js/serve/routes/public.js ---------------------------------------------------------------------- diff --git a/modules/control-center-web/src/main/js/serve/routes/public.js b/modules/control-center-web/src/main/js/serve/routes/public.js index 8eb1b6e..4195a41 100644 --- a/modules/control-center-web/src/main/js/serve/routes/public.js +++ b/modules/control-center-web/src/main/js/serve/routes/public.js @@ -195,8 +195,7 @@ module.exports.factory = function(express, passport, nodemailer, settings, mail, .then((user) => { return mail.send(user, 'Your password has been changed', `Hello ${user.username}!

` + - 'This is a confirmation that the password for your account ' + user.email + ' has just been changed.

' + - 'Now you can login: http://' + req.headers.host, + `This is a confirmation that the password for your account on ${settings.smtp.username} has just been changed.

`, 'Password was changed, but failed to send confirmation e-mail!'); }) .then((user) => res.status(200).send(user.email))