[web2py] Re: Disabling registration

2010-06-30 Thread Chris S
Oh I didn't understand the initial question. Here's one way to go about it, though I'm sure there are other (possibly easier) ways to do it. You first need to create a form for inserting users, and then protect it. The form can be created with CRUD. In your controller: @auth.requires_login() #r

[web2py] Re: Disabling registration

2010-06-30 Thread Deepan
I am clear with first point. Not with second one. How can I make only registered users to create new usersright now when I am logged in and click on register it redirects me to profile page. Thanks On Jun 30, 12:03 pm, Chris S wrote: > Check out the book located atwww.web2py.com/bookyou'll

[web2py] Re: Disabling registration

2010-06-30 Thread Chris S
Check out the book located at www.web2py.com/book you'll find a lot of useful information in it. For 1: Section 8.1 talks about restricting registration http://www.web2py.com/book/default/section/8/1?search=Restrictions+on+registration For 2: Section 8.2 talks about the settings built into Auth.