[Twisted-web] Re: Credential questions - hide user name and passwordon login + get ip address in realm

Alex Levy mesozoic at polynode.com
Tue Nov 16 08:40:41 MST 2004

On Tue, Nov 16, 2004 at 09:42:05AM -0500, Alexander May wrote:
> > That's a bug in _your_ code. Just use POST. Guard doesn't implement the
> form.
> >  From guarded.tac:
> >             tags.form(action=guard.LOGIN_AVATAR, method='post')[
> I was working off the 0.3 examples directory which does not have
> method=post.  Somewhat baffled I looked at the version in the svn trunk and
> I see that the example has been updated to include method=post.  It works
> (as you know); I'm glad to see the guard code handles it correctly.  Thanks.

Yes, that was me -- I saw, after your post, that one guard example had a
POST method, and one did not. I also updated userdb.tac.

Alex Levy
WWW: http://mesozoic.geecs.org/
"Never let your sense of morals prevent you from doing what is right."
 -- Salvor Hardin, Isaac Asimov's _Foundation_

More information about the Twisted-web mailing list