Yes I have that already. I'm starting to think that the problem is with my 
controller, not with the db.py settings.
Maybe my controller is not actually registering the users?
Here's the controller for the signup:

def signup():
    if auth.is_logged_in():
        redirect <http://127.0.0.1:8000/examples/global/vars/redirect>(URL 
<http://127.0.0.1:8000/examples/global/vars/URL>('dashboard'))
    response <http://127.0.0.1:8000/examples/global/vars/response>.subtitle = T 
<http://127.0.0.1:8000/examples/global/vars/T>("Sign up")
    form = SQLFORM 
<http://127.0.0.1:8000/examples/global/vars/SQLFORM>(auth.settings.table_user,
            separator = '', _class='form-horizontal')
    if form.process().accepted:
        mail.send('[email protected]', 'Message subject', 'Plain text body of the 
message')
    return dict(form=form)






On Saturday, November 24, 2012 3:45:09 AM UTC, Anthony wrote:
>
> Does the dashboard page require login? If so, that's why it is redirecting 
> to the login page. If you want the user to be logged in automatically after 
> registration, you can do:
>
> auth.settings.login_after_registration = True
>
>
> Anthony
>
> On Friday, November 23, 2012 8:34:01 AM UTC-5, Daniele wrote:
>>
>> I still cannot get this to work. Any tips?
>>
>> On Sunday, November 18, 2012 10:51:14 PM UTC, Daniele wrote:
>>>
>>> Hey guys, I would like to set register_next to move on to a URL upon 
>>> successful registration. However, it seems to be redirecting me to the 
>>> login page right now. I believe this is because I have 
>>>
>>> @auth.requires_login()
>>> def mypage:
>>>
>>> in the controller. How can I make it so that when a user registers, the 
>>> page automatically is redirected to a page I specify?
>>>
>>> Thanks!
>>>
>>

-- 



Reply via email to