[Moin-user] Can I block people from creating accounts if they don't verify their address?
R.Bauer
rb.proj at gmail.com
Thu Dec 8 11:05:04 EST 2011
Hi
read http://moinmo.in/HelpOnSpam and enable textchas
cheers
Reimar
Am 08.12.2011 16:05, schrieb Steven W. Orr:
> On 12/8/2011 12:31 AM, John Hurst wrote:
>> I had this problem. I explored the web page below, but couldn't get it to work.
>>
>> http://moinmo.in/FeatureRequests/DisableUserCreation
>>
>> Aftyer much trial and error, I eventually nurgled the _create_user routine in<your directory for python packages>/MoinMoin/action/newaccount.py to add a couple of lines
>>
>> def _create_user(request):
>> _ = request.getText
>> form = request.form
>>
>> if not request.user.isSuperUser():
>> return _('You are not allowed to use this action.')
>>
>> ...
>>
>> which does the trick by allowing only superusers to create new accounts. However, it doesn't actually print the error message, but internal errors, for reasons I don't understand. Oh well, it was a simple fix. Perhaps someone else might explain what I'm doing wrong?
>
> This is not really what I want. I don't want other people to not be allowed to
> create accounts. What I want is to prevent people from creating accounts whose
> email address matches a pattern. In my case (today) the interlopers are all on
> the .info TLD
>
> Another thing that would be wonderful would be if the account creation could
> be completed only by responding to a confirmation email, the same as if you
> were signing up for a mailing list.
>
> But, I don't want to disallow everyone from signing up as a default.
>
> BTW, I should mention that all of the spam that I'm getting is not only coming
> from the .info TLD, it's also coming in despite TextCha being enabled. That
> never used to be the case.
>
More information about the Moin-user
mailing list