Commit 9da1b3e3 authored by jiangbowen's avatar jiangbowen

test conn

parent 38a12897
......@@ -143,7 +143,10 @@ class Adldap implements AdldapInterface
public function connect($name = null, $username = null, $password = null)
{
$provider = $name ? $this->getProvider($name) : $this->getDefaultProvider();
var_export($provider);
echo $username.'---------'.$password;
$msg = $provider->connect($username, $password);
var_export($msg);die;
return $provider->connect($username, $password);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment