i need very badly help... thanks
On 7 Mrz., 11:59, pk <peter.kirch...@youngdesigners.de> wrote: > hi together, > > i have a problem with a redirection. i will not redirected to this > link! > in my view i have this: <li class="blue"><a href="{{=URL(r=request, > c='default', f='user/logout')}}"><span>logout</span></a></li> > > my main-controller: > @auth.requires_login() > def index(): > return dict(message="main/index") > > default-controller: > def index(): > if auth.is_logged_in(): > redirect(URL(r=request, c='main', f='index')) > return dict(message="index") > > def user(): > loginform=auth.login() > registerform=auth.register() > return dict(loginform=loginform, registerform=registerform) > > but always after clicking the link i get this redirection! > hope somebody of you can help me?!? > > thanks peter