There are two interesting issues here:
1) Your view contains:
<base href="/{{=request.application}}">
And action="#" is interpreted by Chrome as relative to the base and not as
relative to the current URL. This is bug in Chrome in my opinion but reason
enough to revert the action default to "#".
2) even after removing the code it does not work because you have:
form=auth.login(next=URL('login','index')
i.e. after login you redirect to the login page itself. Displaying the
login form automatically logs you out again. You need a conditional:
form=auth.login(next=URL('login','index') if not auth.user else 'no
login form'
On Tuesday, 12 March 2013 05:33:26 UTC-5, Eric wrote:
>
> Attached a package that's tested with Web2Py 2.4.4.
> You can login with "[email protected]" and password "admin"
>
> When I remove the hashtag using Firebug I can login, with the hashtag in
> the action attribute I can't login... Same in Chrome, as said before :)
>
> Hope this helps.
>
--
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.