Set password in userinfo to allow auth plugins to see it (some really do need it)
authorDan
Thu, 26 Feb 2009 01:27:56 -0500
changeset 845 a4460ba8ada2
parent 844 7549f2880c32
child 846 0d2d0dfbe443
Set password in userinfo to allow auth plugins to see it (some really do need it)
plugins/SpecialUserFuncs.php
--- a/plugins/SpecialUserFuncs.php	Thu Feb 26 01:27:23 2009 -0500
+++ b/plugins/SpecialUserFuncs.php	Thu Feb 26 01:27:56 2009 -0500
@@ -514,6 +514,7 @@
     
     // These are to allow auth plugins to work universally between JSON and HTML login forms
     $userinfo =& $_POST;
+    $userinfo['password'] =& $password;
     $req = array(
       'level' => intval($_POST['auth_level']),
       'remember' => isset($_POST['remember'])