From 8be9e6d41310cb93e239c9d5d571599bd939f1cd Mon Sep 17 00:00:00 2001 From: barisusakli Date: Sat, 8 Nov 2014 14:41:49 -0500 Subject: [PATCH] action:user.verify change #1527 --- src/user/email.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/user/email.js b/src/user/email.js index fe79771fbb..3c477618c9 100644 --- a/src/user/email.js +++ b/src/user/email.js @@ -63,7 +63,7 @@ var async = require('async'), }; if (plugins.hasListeners('action:user.verify')) { - plugins.fireHook('action:user.verify', uid, data); + plugins.fireHook('action:user.verify', {uid: uid, data: data}); } else if (plugins.hasListeners('action:email.send')) { emailer.send('welcome', uid, data); }