phpdevshell team mailing list archive
-
phpdevshell team
-
Mailing list archive
-
Message #01006
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:
Yes change this line:
if ($plugin->lookupUser(array('username' => $username, 'password' =>
$password))) {
to
if (is_a($plugin, 'iAUTH_plugin') &&
($plugin->lookupUser(array('username' => $username, 'password' =>
$password)))) {
However the other change is likely to trigger the exception you
reported, so if you changed:
line 48
throw new PHPDS_exception('Unable to implement auth plugin');
to
return false;
it should be working
--
You received this question notification because you are a member of
PHPDevShell, which is an answer contact for PHPDevShell.