Does anyone know anything about this problem?

On Fri, Nov 18, 2011 at 12:33 AM, Vinicius Assef <[email protected]> wrote:
> I'm making some tests with Auth and I'm facing one problem.
>
> This is my controller: http://pastebin.com/CNigd5qL
> I have a normal login form in default/index
>
> I'm following this flow:
> 1) Enter default/index page.
> 2) Go to default/protected
>
> Here, web2py redirects me to login page. It's right. :-)
> When I fill in the login form, web2py sends me to default/protected
> page. It's right, too. :-)
>
> After going to default/protected, I go to default/index, click in
> logout link and I'm redirected to default/index again. It's right,
> too. :-)
>
> But, after I logged out, if I login again in the same browser session,
> I'm redirected to default/protected page. Even if I didn't try to go
> there again.
>
> Is it right, or the "_next" hidden login form field should be reset
> after the successfull redirect to default/protected after the first
> login?
>
> --
> Vinicius Assef.
>

Reply via email to