I simply tried to call the method with URLcontaining the username/ password. e.g. tttp://username:p...@localhost:8080/.... . Its just internal call so its fine that username/pwd is in URL. I simply tried this in browser, but login form apeared instead.
David On Dec 29, 10:25 pm, mdipierro <[email protected]> wrote: > The allow basic login allows you to call functions that > @auth.requires_login() by passing the credential using basic auth for > example call the url using wget and curl. > > How are you using it? > > On Dec 29, 2:59 pm, David Marko <[email protected]> wrote: > > > How the settings 'auth.settings.allow_basic_login = True' is supposed > > to work? I tried to login to protected method('[email protected]_login > > ()') via basic auth, but was not succesfull. Is there some additional > > setting for protected methods or '[email protected]_login()'' is simply > > used for both auth ? Can someone explain please? > > > David -- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/web2py?hl=en.

