[pmwiki-users] Attributes - edit password

Patrick R. Michaud pmichaud at pobox.com
Fri Mar 31 08:09:30 CST 2006


On Fri, Mar 31, 2006 at 02:15:54PM +0100, Firefly wrote:
>    Hello
> 
>                I want to let the users of my site set their own edit password
>    for certain pages (their user profile) is this possible? Without letting
>    them into the ?action=attr ??

Perhaps something like (in config.php):

    # get identity into $AuthId
    include_once("$FarmD/scripts/authuser.php");

    $pagename = ResolvePageName($pagename);
    if ($pagename == "Profiles.$AuthId") $DefaultPasswords['attr'] = '';

Pm




More information about the pmwiki-users mailing list