← Back to team overview

phpdevshell team mailing list archive

Re: [Question #204289]: PluggableAuth V1.0.0 Exception with bad password

 

Question #204289 on PHPDevShell changed:
https://answers.launchpad.net/phpdevshell/+question/204289

    Status: Open => Answered

Greg proposed the following answer:
Hello and thanks for your interest in our framework :)

What you report is indeed a bug which has been fixed but the fix is not
released yet.

Meanwhile you can easily path it yourself, there are two lines to
changes in the file:

/plugins/PluggableAuth/includes/AUTH_login.class.php

line 85 change from  
    if (is_a($auth, 'iAUTH_plugin') && ($plugin->lookupUser(array('username' => $username, 'password' => $password)))) {
to
    if (is_a($plugin, 'iAUTH_plugin') && ($plugin->lookupUser(array('username' => $username, 'password' => $password)))) {

and line 48 change from
    throw new PHPDS_exception('Unable to implement auth plugin');
to
    return false;

You have the summary of the changes here:

http://bazaar.launchpad.net/~phpdevshell/phpdevshell/3.2.1/changes?filter_file_id=pluginspluggableauth-20110919083907-dd6cbswrobkqsflc-7

This module will be reworked soon to add other types of auth sources
(google, facebook, etc), so your feedback is appreciated !!

-- 
You received this question notification because you are a member of
PHPDevShell, which is an answer contact for PHPDevShell.