Re: [web2py] Re: [web2py:38056] Re: How the 'auth.settings.allow_basic_login = True' works like?

2016-07-05 Thread Joel Couelier
Thanks Massimo for your update. Kr, Joel On 05/07/2016 15:37, Massimo Di Pierro wrote: Your code works for me when using curl "http://jcouelier %40gmail.com :@domain:port/URL" but now when using the browser. So I think the browser is removing the

[web2py] Re: [web2py:38056] Re: How the 'auth.settings.allow_basic_login = True' works like?

2016-07-05 Thread Massimo Di Pierro
Your code works for me when using curl "http://jcouelier%40gmail.com:@domain:port/URL" but now when using the browser. So I think the browser is removing the username and password. On Monday, 4 July 2016 08:30:04 UTC-5, Joel Couelier wrote: > > Hello Massimo, > > Just a quick question, have

[web2py] Re: [web2py:38056] Re: How the 'auth.settings.allow_basic_login = True' works like?

2016-07-04 Thread Joel Couelier
Hello Massimo, Just a quick question, have you got the confirmation if sending user + password directly in the URL is working on basic auth mode? I have added the following on my controller : if request.function == 'ping': auth.settings.allow_basic_login = True @auth.requires_login() def

[web2py:38056] Re: How the 'auth.settings.allow_basic_login = True' works like?

2009-12-30 Thread mdipierro
That probably will not work since it is not what was designed for. I am not sure why it did not work thou. If the username is the email, did you escape it? On Dec 30, 1:16 am, David Marko dma...@tiscali.cz wrote: I simply tried to call the method with URLcontaining the username/ password. e.g.