[pmwiki-users] User-Auth: Default-User, when not logged in
Patrick R. Michaud
pmichaud at pobox.com
Tue Feb 12 13:24:35 CST 2008
On Mon, Feb 11, 2008 at 12:50:39PM +0100, Patrick Ogay wrote:
> Hello,
> Is there a possibilty to assign a default-user for a session a user ist
> not logged in, let's say user "surfer".?
> The advantage would be to have a consistency in the handling of the user
> (auth of Groups, Includes from User-Profile).
> It would be easyer to handle than nopass situations.
Certainly! In local/config.php, _after_ loading authuser.php,
one can do:
SDV($AuthId, 'surfer');
This sets the authenticated username to 'surfer' if the current
session doesn't already have a username set.
Pm
More information about the pmwiki-users
mailing list