Anthony,
>do you click a login link and then go to a login page (e.g.,
> /app/default/user/login)?
Yes. It's just simply clicking the link.
> Is auth.settings.login_next set to URL('default', 'menu1')?
No. nothing is specified. When I check the value it shows "/menu/
default/index".
Actually, my example was wrong. It should be the following. When you
click the login link at index, it will redirect you menu1.
models/menu.py
-------------------------------------------------------------------
response.menu = [
(T('Home'), False, URL('default','index'), []),
(T('Menu1'), False, URL('default','menu1'), []),
]
if auth.user:
response.menu.append((T('menu2'),False,URL('default','menu2')))
-------------------------------------------------------------------