[pmwiki-users] Validate login/password

Hans design5 at softflow.co.uk
Tue Apr 1 11:29:36 CDT 2008


Tuesday, April 1, 2008, 4:51:08 PM, Stéphane Heckel wrote:

> Which core function should I use to validate a user/password (from a 
> cookbook) ?
> Authuser.php is enabled

from beginning of authuser.php:

if (@$_POST['authid'])
 AuthUserId($pagename, stripmagic(@$_POST['authid']), 
            stripmagic(@$_POST['authpw']));
else SessionAuth($pagename);


  ~Hans




More information about the pmwiki-users mailing list