using the Session.php auth container
Lukas Kahwe Smith <[email protected]> Mon, 22 Aug 2005 10:16:41 +0200
| Newsgroups | gmane.comp.php.pear.liveuser |
|---|---|
| Message-ID | <[email protected]> |
Hi, just to let you all know: I just implemented anonymous login with a CAPTCHA inside the WebBuilder2 framework using the Session.php auth container. Works like a charm. Basically LiveUser will first check if the username exist in the database. If not it will check if provided password matches the CAPTCHA phrase in the session. The user will obviously not be mapped to a perm user id (though this would be possible as well by placeing the necessary mapping into the liveuser_perm_users table). Here is the configuration file: http://svn.oss.backendmedia.com/configs/liveuser_default.inis The code to generate the CAPTCHA needs to be moved into the login module eventually but for now you can find it here: http://svn.oss.backendmedia.com/templates/default/login/login.tpls You can get more information on the WebBuilder2 here: http://oss.backendmedia.com/index.php?area=WebBuilder2 regards, Lukas