Thanks. Actually,  I just uncommented line on default model.py, and in
that file:
   auth.settings.registration_requires_approval = True

 I will set it to False then clear the registration keys.


Other questions:
1. Can we rename the auth_user table to other for example to member
table?
2. Can rename field id to other for example  to memberId?

thanks,



On Jun 30, 7:03 am, mdipierro <mdipie...@cs.depaul.edu> wrote:
> Did you set?
>         auth.settings.registration_requires_approval = True
> The default should be
>         auth.settings.registration_requires_approval = False
>
> If you require approval, this has to be done manually via admin
> (unless you create an interface) by clearing the registration_key
> field of the registered users you want to approve.
>
> Massimo
>
> On Jun 29, 5:37 pm, Mico Siahaan <mico.siah...@gmail.com> wrote:
>
> > Hi, I am really new in using web2py. I trued to use auth function
> > email verification. It sent vericifation key using gmail smtp to my
> > email containing: 'Click on the 
> > linkhttp://127.0.0.1/myapp/user/verify_email/34080fc6-0606-4ec8-91ef-8634...
> > to verify your email'.  I click the link. Then flashed: 'Registration
> > is pending approval'. Question: how can I do the approval?
>
> > regards,
>
> > Mico
--~--~---------~--~----~------------~-------~--~----~
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