[web2py] Re: authentication variables in url when login is incorrect
Ok I think I found it: In gluon/tools.py in the Auth.login() method the line 2643 has been changed from redirect(self.url(args=request.args, vars=request.*get_vars* ),client_side=settings.client_side) to redirect(self.url(args=request.args, vars=request.*vars* ),client_side=settings.client_side) Does anyone know why this was changed? -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- 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 web2py+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/web2py/b6c882e7-98d3-4d12-b8d2-e92e17635db3%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[web2py] authentication variables in url when login is incorrect
Hi, I have a problem with the ldap auth since I upgraded my application from web2py 2.14.6 on Python 2.7 to the current web2py 2.18.5 on Python 3.7. In the old version when I logged in with incorrect credentials it would reload the login page: http://localhost/app/default/user/login?_next=%2Fapp%2Fdefault%2Findex# on the new version the login form's variables are displayed in the url http://localhost/app/default/user/login?_formkey=33179672-fd5f-49c3-86c7-d5ebf7ca375c&_formname=login&_next=%2Fapp%2Fdefault%2Findex=my_secret_password=my_boring_username# I have not really changed anything in the app, only the fixed the syntax for Python 3. I was looking through the Auth and related classes in gluon, but I cannot figure out what may have changed and I am not that knowledgeable about how html forms work to produce this behaviour. I am generating the auth form with the basic 'form=auth()' in the user controller/view. Any ideas? Many thanks! Fred -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- 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 web2py+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/web2py/f1223697-9436-4d33-9dd3-ed27a39d46c6%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.