[pmwiki-users] Can't login with Site.AuthUser

H. Fox haganfox at users.sourceforge.net
Tue Jul 25 15:31:04 CDT 2006


On 7/25/06, Jeff Alperin <jalperin at gmail.com> wrote:
> Additional information:
>
> The login works correctly only if I'm trying to browse to a page in this
> format:
> http://www.mysite.com/wiki/pmwiki.php?n=Main.HomePage
>
> Using either of the following, the login fails:
> http://www.mysite.com/wiki/pmwiki.php
> http://www.mysite.com/wiki
>

Try

   $pagename = ResolvePageName($pagename);
   include_once('scripts/authuser.php');
   $DefaultPasswords['edit'] = 'id:*';
   $DefaultPasswords['read'] = 'id:*';
   $DefaultPasswords['upload'] = 'id:*';

Hagan




More information about the pmwiki-users mailing list