[Pmwiki-users] Re: Problems with Passwords

Thomas Stierli t.stierli
Thu Feb 26 05:32:49 CST 2004


Hallo again

>  > I set "$DefaultPasswords['edit'][] = crypt('author1');" in config.php.
>Try this instead
>	$DefaultPasswords['edit'] = crypt('author1');
>
>the extra [] looks suspicious to me...


I read somewhere, that I can set an array of passwords for each 
level. So I set 2 passwords for level edit like this:
$DefaultPasswords['edit'][] = crypt('author1');
$DefaultPasswords['edit'][] = crypt('author2');
Am I wrong? Isn't that possible? I think so.


But in fact, this is not my main problem. Even if I set only 1 
admin-password, I can't login.
$DefaultPasswords['admin'] = crypt('admin');
$DefaultPasswords['edit'] = crypt('edit');
My entered password 'admin' isn't accepted! And the same happens to 
all other passwords (read, edit, attr).



Hope somebody can help me!
Greets
Thomas



More information about the pmwiki-users mailing list