#578 should remove mediawiki password change feature
Closed: Fixed None Opened 15 years ago by notting.

Mediawiki offers a password change widget in the user's preferences. AFAIK, there's no way this will work with FAS, so we shouldn't offer it to the users.


<nod> I looked briefly on how to do this without a patch but couldn't find anything. I'm sure there's other options, I'll keep looking.

A nice simple solution...

Index: HttpAuthPlugin.php

RCS file: /cvs/puppet/configs/web/applications/HttpAuthPlugin.php,v
retrieving revision 1.4
diff -u -r1.4 HttpAuthPlugin.php
--- HttpAuthPlugin.php 31 May 2008 19:04:45 -0000 1.4
+++ HttpAuthPlugin.php 26 Jun 2008 05:52:08 -0000
@@ -149,7 +149,7 @@
* @return bool
*/
function allowPasswordChange() {
- return true;
+ return false;
}

I've tested this on my l10n wiki environment and it works, so it's now in the process of pushing live.

Doesn't work 100% in production (which is strange), investigating why...

This will be fixed with the introduction of the l10n wikis. (It may be pushed in before hand though)

I think this is implemented. I couldn't find any place to change my password on the wiki. If I'm mistaken please re-open.

Yep, this is implemented, was implemented when I setup the AuthFAS plugin :)

Login to comment on this ticket.

Metadata