form=auth() generates forms depending on the context. If it determines that the current user is not logged in it redirects you to what it thinks is the login url. Do you wish to include a login form? If you you need form=auth.login()
On Aug 12, 5:05 pm, thedangler <[email protected]> wrote: > in my index controller I have return dict(message=T('Welcome to > Bewoost'),form=auth()); > > And because I added form=auth() to the dict my index url changes from > domain.com/appname to domain.com/appname/default/user/login > > How and why does it do that. > > How can I make it not do that. > > I tried doing > > auth.settings.login_url = URL('user', args='login') but i just get an > error plus i dont even know where to put it. > > thanks

