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)

I'm providing a third confirmation of this functionality glitch for Mediawiki v 1.16.2, as described by the previous two contributors. I'm going to go ahead and make the change on the main page if I have permissions. Mythobeast 16:15, 15 February 2011 (UTC)