[pmwiki-users] Global Passwords, Users and Authors
    Patrick R. Michaud 
    pmichaud at pobox.com
       
    Sun Apr  2 12:04:33 CDT 2006
    
    
  
On Fri, Mar 31, 2006 at 03:51:26PM -0500, Ink Spot wrote:
> I would like to keep a global password for editing, but have a username 
> entry in the login form.  I would also like that username to default to the 
> Author section, and require that the Username and Author matches.
> 
> I've done a lot of messing around with it, and for the life of me can't 
> figure out how to do it.  Could I get some specific information on how this 
> can be done?
Edit the Site.AuthForm page, and change the line that says
    (:if enabled EnableAuthUser:)$[Name]: (:input text name=authid:)\\
to read
    $[Name]: (:input text name=author value='{$Author}':)\\
> I would also like to be able to set the global password outside of editing 
> the config.php file.  Is there a built-in feature like that, or a cookbook 
> I can download?
At the moment the only way to set global passwords is within the
config.php file.
Pm
    
    
More information about the pmwiki-users
mailing list