changeset 6061:50251583a7bb

log user account creation with the abuse logger
author 'Karl O. Pinc' <kop@meme.com>
date Thu, 04 Sep 2014 10:22:09 -0500
parents 6a64e0b3b330
children 17ccba0ae187
files MoinMoin/events/__init__.py
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/events/__init__.py	Wed Sep 03 22:43:26 2014 -0500
+++ b/MoinMoin/events/__init__.py	Thu Sep 04 10:22:09 2014 -0500
@@ -14,6 +14,7 @@
 
 from MoinMoin import wikiutil
 from MoinMoin.util import pysupport
+from MoinMoin.util.abuse import log_attempt
 from MoinMoin.wikiutil import PluginAttributeError
 
 # Create a list of extension actions from the package directory
@@ -186,6 +187,7 @@
     req_superuser = True
 
     def __init__(self, request, user):
+        log_attempt('event: newaccount', True, request, user.name)
         Event.__init__(self, request)
         self.user = user