Recent Changes - Search:

PITS main list

edit sidebar

Main sidebar



Summary: (:if enabled EnableAuthUser:) doesn't work in Site.AuthForm
Created: 2005-12-29 03:56
Status: Closed - fixed for 2.1.beta16
Category: Bug
From: floozy?
Priority: 3
Version: 2.1.beta15
OS: FreeBSD/Apache2/PHP5.0.4


My pmwiki installation uses password-only access control, so $EnableAuthUser is not set.

However, the (:if enabled EnableAuthUser:) markup in Site.AuthForm doesn't work, and the login prompt also displays an input field for the username.

Changing the conditional markup in Site.AuthForm from

(:if enabled EnableAuthUser:)


(:if true EnableAuthUser:)

solved the problem, and the username input field is no longer displayed. So I suppose the (:if enabled ... :) markup doesn't work properly, somehow.

I was still playing with the (:if enabled:) and (:if true:) markups when beta15 was released. I've decided that it will be (:if enabled:), and the (:if true:) markup no longer takes a parameter (as it was in beta 14).

Sorry for the confusion.


No problem ;-)

Edit - History - Print - Recent Changes - Search
Page last modified on September 10, 2011, at 11:56 AM