auth_phpBB 3.0.3 incompatible with MW 1.17.0

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    php|uber.leet Forum Index // General
View previous topic :: View next topic  
Author Message
iamhermes



Joined: 25 Aug 2011
Posts: 1

PostPosted: Thu Aug 25, 2011 3:19 am    Post subject: auth_phpBB 3.0.3 incompatible with MW 1.17.0 Reply with quote
After upgrading Mediawiki to 1.17.0 the Auth_phpBB plugin does not work anymore.

I have found a workaround after hours of searching, but this should not the solution (code changes in Mediawiki).


is there another workaround to get the login process working?




Comment out in the includes/User.php
Code:
                if( !$this->isValidPassword( $password ) ) {
                        return false;
                }
Back to top
View user's profile Send private message
root
Site Admin


Joined: 24 Jun 2005
Posts: 471

PostPosted: Tue Aug 30, 2011 11:51 pm    Post subject: Reply with quote
I have not looked at 1.17.0 so maybe it does not work with it.
Back to top
View user's profile Send private message
coder1



Joined: 25 Apr 2012
Posts: 4

PostPosted: Wed Apr 25, 2012 3:28 am    Post subject: Reply with quote
i think this comes from checking for password validity when checking for the correct password.

i guess you need a hook:

in function __construct($aConfig) add:
$GLOBALS['wgHooks']['isValidPassword'][] = $this;

and then have a function that validates the password:

function isValidPassword($password, &$result ) {
$result=True; // if you have password changing turned off for your users, this should be save
}

all this is just a wild guess, i didnt try anything .)
Back to top
View user's profile Send private message
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    php|uber.leet Forum Index // General All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

alexisBlue v1.2 // Theme Created By: Andrew Charron and Web Hosting Bluebook
Powered by phpBB © 2001, 2002 phpBB Group