<div dir="ltr">This hopefully will be an easy question. I've looked over the Passwords part on the website but I can't find my answer.<br><br>I'm trying to change the password on my Wiki and I'm having a bit of trouble. Below is part of my config.php and let me explain what's happening. My admin password (qqq) works fine. My attr password is the same so it works fine. My edit password (xxx) is given out to my employees and it's not fine.<br>
<br>The problem began when I wanted to change the old edit password (yyy) since we had a bit of a turnover in staff and I didn't want any wiki vandalism. Currently the 'yyy' password will get you edit privileges into the site and I don't want it to. When I uncomment out the ForbiddenPasswords section suddenly the new edit password 'xxx' fails to work. They are completely different passwords. The 'zzz' password is quite similar to the 'yyy' password and hence it's there also in case any guesswork is attempted and to also remind me not to use that one. To fix my issue where nobody can log in but myself I have to comment out the ForbiddenPasswords section.<br>
<br>My question is where is the 'yyy' password being stored that also knocks out the 'xxx' password?<br><br>$DefaultPasswords['admin'] = crypt('qqq');<br>$DefaultPasswords['attr'] = crypt('qqq');<br>
$DefaultPasswords['edit'] = crypt('xxx');<br><br>##$ForbiddenPasswords = array('yyy', 'zzz');<br>##if (in_array(@$_POST['authpw'], $ForbiddenPasswords)) <br>##unset($_POST['authpw']);<br>
</div>