Hello. On Thursday December 18, 2008 09:36:33 Florent Aide wrote: > I fixed my auth issue in r5956. But I'm not quite clear yet why I > should add the name attribute to my form.field... I though it was > possible to create a form.field with only ids and no more name... But > when I remove the names, than the form parsed by paste does not > contain the login nor the password.
Ahh, yes, that makes sense. "id" attributes are only used by the user agent, but form controls with the "name" attribute are the ones that are sent to the URL specified in the "action" of the form. > This is chain makes repoze.who/what return None for the identity and > breaks the whole auth stack. :/ Right. Since the "login" and "password" POST variables were not sent, repoze.who identifiers are not able to find the credentials, and when that happens, no repoze.who authenticator is called. Cheers. -- Gustavo Narea <http://gustavonarea.net/>. Get rid of unethical constraints! Get freedomware: http://www.getgnulinux.org/ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears Trunk" 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/turbogears-trunk?hl=en -~----------~----~----~----~------~----~------~--~---
