What additional details are required? Am I doing it incorrectly? Or
should my login page POST something in addition to just the username
and password?

On Jan 31, 10:25 pm, Massimo Di Pierro <[email protected]>
wrote:
> Yes. How depends on details.
>
> On Jan 31, 2:48 am, mervyn <[email protected]> wrote:
>
>
>
>
>
>
>
> > I'm using a javascript framework that provides it's own login page and
> > submits authentication requests using HTTP POST with the username and
> > password to a url that I can specify. I've also created my own login
> > method that checks the supplied username and password against a local
> > database that's not part of web2py. In addition to the above, I'd like
> > to be able to use the decorator @auth.requires_login() for functions
> > that requires the user to be logged in. For authentication, when I
> > post the username and password tohttp://.../[app]/default/user/login
> > my custom login method does not seem to be provided the username and
> > password. If I'm not using web2py's forms, is this still possible?

Reply via email to