Recent Changes - Search:

PITS main list

edit sidebar

Main sidebar

PmWiki

pmwiki.org

00630

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?
Assigned:
Priority: 3
Version: 2.1.beta15
OS: FreeBSD/Apache2/PHP5.0.4

Description:

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:)

to

(: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.

Pm


No problem ;-)
--floozy

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