[!] bugfixes in passwd.php