Extension talk:PwAuthPlugin

Problem help
Hi. I have worked a little with this plugin on a mediawiki version 1.8.2 installation. But I seem to have some problems and hope someone will read this. Ive installed the plugin as said on the page, but almost every time i log in, which succeeds every time, im logged out again when i try switching page on the wiki. This occours randomly but few times im allowed to stay logged in. Any ideas?

Nicholas R

email + full name not initialised
When new accounts were created on first logon, the Real Name and Email fields weren't being set automatically. To get that to happen, I had to copy the code from updateUser to initUser.

comment out setPassword call
I had to comment out the following lines (which set an initial random password) as my set up doesn't allow password changes through MediaWiki.

// $pass = ''; // for($i=0; $i<15;++$i) $pass .= chr(mt_rand(0,255)); // $user->setPassword($pass);

Confirmed above mentioned setPassword bug
I also had to comment out the "$user->setPassword($pass);" line in this extension to get it to work. Another section of this extension ensures that no attempt to change the system password will be permitted, yet this code explicitly tries to change it. This is a bug and should be corrected. This extension is to be used with pwauth which can only verify passwords, not change them, so why even try? It causes the extension to fail! 12.163.172.130 19:54, 15 September 2010 (UTC)