[pmwiki-users] AuthUser- strange behavior
Patrick R. Michaud
pmichaud at pobox.com
Fri Aug 26 09:28:46 CDT 2005
All $AuthUser settings have to occur *before* including authuser.php,
otherwise they don't take effect. Thus, either:
1. Remove the include_once('scripts/authuser.php') from farmconfig.php
and place it in the local/config.php file(s)
or
2. Load authuser.php from farmconfig.php *after* performing local
(per-field) customizations:
# do farm config settings here
# ...
include_once('local/config.php'); # load per-field settings
$AuthUser['pmwikif'] = crypt('pmwikif'); # set up authuser
include_once('scripts/authuser.php');
Pm
On Fri, Aug 26, 2005 at 04:27:28PM +0200, Patrick Ogay wrote:
> >I'm not able to get either login to work. Can you send your config.php?
> Was the first attempt with the correct user?
> In my tests it works, only problems, when the first user is not accepted.
>
> I'll attach you formconfig and config.php
>
> thanks
> regards
> Patrick Ogay
More information about the pmwiki-users
mailing list