This commit is contained in:
JaguarJack 2020-05-22 15:56:28 +08:00
parent 1d1eaa0338
commit 30e7829d21

View File

@ -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;
} }