[Moin-user] Can I block people from creating accounts if they don't verify their address?
R.Bauer
rb.proj at gmail.com
Fri Dec 9 03:53:54 EST 2011
Am 08.12.2011 18:53, schrieb Steven W. Orr:
> On 12/8/2011 11:05 AM, R.Bauer wrote:
>> Hi
>>
>> read http://moinmo.in/HelpOnSpam and enable textchas
>>
>>
>> cheers
>> Reimar
>
> As I mentioned:
>
> ...it's also coming in despite TextCha being enabled. That never used to be
> the case.
>
You can use a textcha only you can answer. Then only people in your
group which don't be annoyed by textchas can create accounts by the
newaccount action for others.
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.
>>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Cloud Services Checklist: Pricing and Packaging Optimization
>> This white paper is intended to serve as a reference, checklist and point of
>> discussion for anyone considering optimizing the pricing and packaging model
>> of a cloud services business. Read Now!
>> http://www.accelacomm.com/jaw/sfnl/114/51491232/
>> _______________________________________________
>> Moin-user mailing list
>> Moin-user at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/moin-user
>
>
More information about the Moin-user
mailing list