[web2py] Re: web2py login redirect

2012-09-06 Thread Yebach
I searched if I call the auth.register() function, but i don't. not in view, not in controler not in model. I have absolutely no idea what could and where is the problem On Wednesday, September 5, 2012 2:15:40 PM UTC+2, Yebach wrote: Hello My login function doesn't work. After I try to

[web2py] Re: web2py login redirect

2012-09-06 Thread Anthony
I assume this http://stackoverflow.com/a/12294961/440323 means you found it? On Thursday, September 6, 2012 2:42:06 AM UTC-4, Yebach wrote: I searched if I call the auth.register() function, but i don't. not in view, not in controler not in model. I have absolutely no idea what could and

Re: [web2py] Re: web2py login redirect

2012-09-06 Thread Vid Ogris
Yes. Thank you 2012/9/6 Anthony abasta...@gmail.com I assume this http://stackoverflow.com/a/12294961/440323 means you found it? On Thursday, September 6, 2012 2:42:06 AM UTC-4, Yebach wrote: I searched if I call the auth.register() function, but i don't. not in view, not in controler

[web2py] Re: web2py login redirect

2012-09-05 Thread Anthony
First suggestion -- post your code. :-) On Wednesday, September 5, 2012 8:15:40 AM UTC-4, Yebach wrote: Hello My login function doesn't work. After I try to login i am redirected to user/user/profile instead back to my main page /school/index.html Register works, everything Also, if I

[web2py] Re: web2py login redirect

2012-09-05 Thread Yebach
my view user.html div class=web2py_user_form id=web2py_user_form h2{{=T( request.args(0).replace('_',' ').capitalize() )}}/h2 {{=form}} {{if request.args(0)=='login':}} {{if not 'register' in auth.settings.actions_disabled:}} div class=flash_1 id=flash_1{{=response.flash or ''}}/div br / a

[web2py] Re: web2py login redirect

2012-09-05 Thread Anthony
Looks like it's going to auth.settings.logged_url, which should only happen if you call the auth.register() function when the user is already logged in -- is that happening anywhere? Also, by default, if you get to the login page via the navbar link from another page, you will be redirected