This terminology makes my head spin:
block_registration ==  noun or verb?    Looking at dictionary.com,  block,
verb:


   - to obstruct (someone or something) by placing obstacles in the way
   (sometimes fol. by up): to block one's exit; to block up a passage.
   - Computers. to group (contiguous data) together so as to allow to be
   read or written in a single operation.


...clearly someday, someone will ask for "block registration" and mean the
second meaning.... "block" does not seem like a clear enough term


Let me try:

auth.settings.registration_disallowed=False


Ach!  Double negatives - my head is _still_ spinning!!! ;-)

Ok - how about this:

auth.settings.enable_registration=True   (default)


You can play with implementation details - I'm looking for terms that more
clearly say what is going on.


- Yarko



On Fri, May 8, 2009 at 12:27 PM, mdipierro <mdipie...@cs.depaul.edu> wrote:

>
> perhaps the nature of the confusion is that if you
> block_registration=True then a user registers, validates email and
> then you set block_registration=False, that user is still blocked.
>
> Massimo
>
> On May 8, 12:21 pm, Kuba Kucharski <kuba.kuchar...@gmail.com> wrote:
> > Now I am confused, auth.settings.block_registration=True means block
> > registration. I got the nice change to "pending", i like it. but..
> > 'False' stands for what?
> >
> > I tried 'False', and also tried removing the whole line(not setting
> > this variable). It results in the same 'invalid login'
> >
> > Thank you for your help.
> > --
> > Kuba
> >
> > On Fri, May 8, 2009 at 7:09 PM, mdipierro <mdipie...@cs.depaul.edu>
> wrote:
> >
> > > yes since you are blocking registrations.
> > > Since this is only in trunk we can still change this behavior if you
> > > have a better proposal on how it should behave.
> >
> > > Massimo
> >
> > > On May 8, 12:01 pm, Kuba Kucharski <kuba.kuchar...@gmail.com> wrote:
> > >> Hi
> >
> > >> I have
> > >> auth.settings.block_registration=False
> >
> > >> I get an email, I click,  then see message flash: email_verified. But
> > >> the registration key is still in db. Login results in "Invalid login'.
> > >> Do I have to update auth_user record myself?
> >
> > >> --
> > >> Kuba
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to