<html>
<head>
<meta content="text/html; charset=ISO-8859-15"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hello,<br>
<br>
for me the best solution was:<br>
from <a class="moz-txt-link-freetext" href="http://www.moinmo.in/FeatureRequests/DisableUserCreation">http://www.moinmo.in/FeatureRequests/DisableUserCreation</a><br>
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-15">
<h2
id="Solution_for_1.9_to_only_allow_superusers_to_create_new_accounts"><small><b><small>Solution
for 1.9 to only allow superusers to create new accounts</small></b></small></h2>
In short:<br>
In order to avoid SPAM creating new accounts, patch
MoinMoin/action/newaccount.py<br>
Line 172:<br>
page = Page(request, pagename)<br>
_ = request.getText<br>
# 2011-08-20 RR<br>
if not request.user.isSuperUser():<br>
request.theme.add_msg(_('You are not allowed to use this
action.'), "error")<br>
return page.send_page()<br>
form = request.form<br>
<br>
Best regards,<br>
Rudolf<br>
<br>
<br>
Am 12.03.12 11:45, schrieb Hugo Gomes:
<blockquote cite="mid:1331549133.2013.4.camel@lnsys16.lip.pt"
type="cite">
<pre wrap="">Hi all,
I'm having problems with bots creating new accounts, Is there any
solution to implement only in account creation to solve this problems?
Like a captcha system to new accounts?
Best regards,
Hugo Gomes
</pre>
</blockquote>
<br>
</body>
</html>