diff --git a/src/user/approval.js b/src/user/approval.js
index 9429fef270..90bb71b324 100644
--- a/src/user/approval.js
+++ b/src/user/approval.js
@@ -200,6 +200,16 @@ module.exports = function (User) {
getIPMatchedUsers(user, function (err) {
next(err, user);
});
+ user.customActions = [].concat(user.customActions);
+ /*
+ // then spam prevention plugins, using the "filter:user.getRegistrationQueue" hook can be like:
+ user.customActions.push({
+ title: '[[spam-be-gone:report-user]]',
+ id: 'report-spam-user-' + user.username,
+ class: 'btn-warning report-spam-user',
+ icon: 'fa-flag'
+ });
+ */
}, next);
},
function (users, next) {
diff --git a/src/views/admin/manage/registration.tpl b/src/views/admin/manage/registration.tpl
index 6171251305..22048eebfe 100644
--- a/src/views/admin/manage/registration.tpl
+++ b/src/views/admin/manage/registration.tpl
@@ -30,9 +30,9 @@
-
-
-
+
+
+
{users.username}
@@ -40,9 +40,9 @@
-
-
-
+
+
+
{users.email}
@@ -50,9 +50,9 @@
-
-
-
+
+
+
{users.ip}