[Zope] Generic User Folder and SQL
Stuart 'Zen' Bishop
zen@cs.rmit.edu.au
Mon, 29 Nov 1999 08:20:38 +1100 (EST)
On Sun, 28 Nov 1999, Daniel Pfile wrote:
> that is passed to them. That works great. Only thing I'm missing is how to
> get my DTML in userAuthenticate to work and return a 1 when GetAuthInfo
> finds matching username/password fields, and return 0 when it doesn't.
>
> Am I missing something really silly here? Are there examples out there of
> what I'm trying to do? Am I going about this all wrong?
It would look something like this:
<dtml-in "GetAuthInfo(username=username,password=password">
<dtml-return "_.int(1)">
<dtml-else>
<dtml-return "_.int(0)">
</dtml-in>
--
___
// Zen (alias Stuart Bishop) Work: zen@cs.rmit.edu.au
// E N Senior Systems Alchemist Play: zen@shangri-la.dropbear.id.au
//__ Computer Science, RMIT WWW: http://www.cs.rmit.edu.au/~zen