From 35a15f37ece9d110e3c1bc7d39fec91868434b9a Mon Sep 17 00:00:00 2001 From: barisusakli Date: Tue, 13 Dec 2016 14:01:07 +0300 Subject: [PATCH] closes #5276 --- src/user/email.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/user/email.js b/src/user/email.js index 5eb93b71e0..99d2d9693d 100644 --- a/src/user/email.js +++ b/src/user/email.js @@ -100,6 +100,9 @@ var emailer = require('../emailer'); async.apply(db.delete, 'uid:' + confirmObj.uid + ':confirm:email:sent'), function (next) { db.sortedSetRemove('users:notvalidated', confirmObj.uid, next); + }, + function (next) { + plugins.fireHook('action:user.email.confirmed', {uid: confirmObj.uid, email: confirmObj.email}, next); } ], function (err) { callback(err ? new Error('[[error:email-confirm-failed]]') : null);