auth.navbar() automatically includes login as the first item, and that is
not configurable. However, auth.navbar() simply returns a SPAN helper
object, so you can use the server-side DOM to edit it. This should remove
the login link:
nav = auth.navbar()
del nav[1:3] # deletes the login link and the " | " after it.
Anthony
On Saturday, October 8, 2011 1:37:56 AM UTC-4, lucas wrote:
>
> hello one and all,
>
> how do i direct auth to remove the "login" link from the navbar?
>
> i already tried
>
> auth.settings.actions_disabled.append('login')
>
> like you would to remove register, but that didn't seem to work.
> ideas? thank you in advance. lucas