[pmwiki-users] AuthUser - logout asks for user name and password?!

H. Fox haganfox at users.sourceforge.net
Thu Sep 8 23:09:37 CDT 2005


Something I noticed...

Try this search for " ":


then logout and add this to your config.php.

$page = RetrieveAuthPage($pagename, 'read', false, READPAGE_CURRENT);
if ($page['=auth']['edit']) {
    $SearchPatterns['default'][] = '!\\.(All)?Recent(Changes|Uploads)$!';
    $SearchPatterns['default'][] = '!\\.Group(Print)?Header$!';
    $SearchPatterns['default'][] = '!\\.(GroupAttributes|WikiSandbox)$!';
    $SearchPatterns['default'][] = '!^(Test|Site|PmWiki)\\.!';

Then try the search for " " again.

The goal: If you're logged in, your search includes PmWiki-related
content.  If you're not, only your site's content is searched.


More information about the pmwiki-users mailing list