assuming you are using the scaffolding app, modify the user function as follows
def user():
if request.args(0) == 'login' and auth.user_id:
#do whatever...
redirect(URL('index'))
return dict(form=auth())
On Monday, September 3, 2012 10:15:42 PM UTC+2, shartha wrote:
>
> The post title pretty much summarizes it. I'd like to restrict access to
> the login page for logged-in users. How can I do this?
>
> Thanks!
>
--

