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