<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
I'm setting up a new instance of PMWiki. <span style="color:
rgb(0, 0, 0); font-family: Arial, Helvetica, sans-serif;
font-size: 14.6667px; font-style: normal; font-variant-ligatures:
normal; font-variant-caps: normal; font-weight: 400;
letter-spacing: normal; orphans: 2; text-align: start;
text-indent: 0px; text-transform: none; white-space: normal;
widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;
background-color: rgb(255, 255, 255); text-decoration-style:
initial; text-decoration-color: initial; display: inline
!important; float: none;">The site is running pmwiki-2.2.133.</span><br>
<br>
When I go to edit a page I get prompted for a user / password. But
when I save, I also get prompted for a user / password. <br>
<br>
From my config.php file<br>
<br>
<blockquote>## Set up some users<br>
$AuthUser['Astro'] = pmcrypt('astropassword');<br>
$AuthUser['Robot'] = pmcrypt('robotpassword');<br>
$AuthUser['@editors'] = array ('Astro', 'Robot');<br>
<br>
# Now give them edit ability<br>
$DefaultPasswords['edit'] = array(pmcrypt('editpagepassword'),
#global edit password <br>
'@editors'); # and the editors<br>
<br>
## Turn on auth system<br>
include_once("$FarmD/scripts/authuser.php");<br>
</blockquote>
I can edit pages as logging in as Astro and Robot with their
password. I can also edit with the global password. (The site Admin
has the same behavior)<br>
<br>
I've been through the Password page and the Auth User page and
didn't see any other special setup info<br>
<br>
Questions:<br>
1) How can I stop the double login (one on edit, one on save)? <br>
<br>
2) Is there a way that I can get a single login to be remembered?
When I go to edit the file, I put in the user / password, and on the
edit page I get View, Edit, History, Print and<i> Logout</i> links.
But once I do the save (with the second authentication) there is no
longer a Logout link. In a more perfect world I'd be able to login
once and have it stick. <br>
a) I have tried using the Auth User form and it shows a logon, but
it does not seem to stay. <br>
b) I've tried setting $EnableIMSCaching = 1; to both zero and one
and the results don't change.<br>
<br>
3) Is there a way to display the name of the current user inside a
page? I thought {$AuthId} would display it, but it's not showing a
value. <br>
<br>
4) Is there a way to display the members of the @editors group?<br>
<br>
Thanks for your help!<br>
<br>
<br>
</body>
</html>