[pmwiki-users] EnableDiag in CondAuth

adam overton a at plus1plus1plus.org
Mon Aug 18 18:01:42 CDT 2008

ahh, thanks for the tip.
turns out i had it declared before the Passwords declarations - it  
works as desired after moving it directly after the passwords.

On 10 Aug 2008, at 9:15 AM, Patrick R. Michaud wrote:

> On Wed, Aug 06, 2008 at 05:54:29PM -0700, adam overton wrote:
>> if i try to set $EnableDiag only for use by the admin using either of
>> the two following approaches, i get an unending request for a
>> password. if i set the $EnableDiag manually to 1 or 0, everything
>> edits fine.
>> 	if (CondAuth($pagename, 'admin')) $EnableDiag = 1;
>> [...]
>> should this be happening?
> No, but are you doing anything else related to authentication/
> authorization, such as using AuthUser?
> The above line probably should go near the end of local/config.php,
> after any other customizations that involve authorizations.
> If that's not it, let me know and I'll see if I can come up with
> anything else.
> Pm

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.pmichaud.com/pipermail/pmwiki-users/attachments/20080818/8cec0772/attachment.html 

More information about the pmwiki-users mailing list