uploading your fix

On Mar 25, 12:38 pm, Carlos <[email protected]> wrote:
> Hi,
>
> It would be good if the original get_vars (e.g. _next) are carried forward
> even after multiple consecutive failed logins, so I propose the following
> change in tools.py, line 1497 (in v. 1.93.2):
>
> before:
>    redirect(self.url(args=request.args))
>
> after:
>    redirect(self.url(args=request.args, vars=request.get_vars))
>
> This will allow us to carry forward the '_next' var (and others) in these
> cases, otherwise we lose it after the first failed login.
>
> Massimo, if it does not break anything, can you please patch tools.py with
> this change?.
>
> Thanks,
>
>    Carlos

Reply via email to