优化
This commit is contained in:
@@ -349,7 +349,9 @@ class Http
|
||||
*/
|
||||
public function auth($username, $password)
|
||||
{
|
||||
$this->auth = [$username, $password];
|
||||
$this->options = [
|
||||
'auth' => $username, $password
|
||||
];
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
Reference in New Issue
Block a user