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

_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to