Skip to content

Commit 4398753

Browse files
Add support of zabbix 6.4
1 parent ab4957c commit 4398753

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/SimpleZabbixApi.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,11 @@ function request($method, $params) {
4444
function auth($username, $password) {
4545
if (is_null($password)) {
4646
$login_params = array(
47-
'user' => $username
47+
'username' => $username
4848
);
4949
} else {
5050
$login_params = array(
51-
'user' => $username,
51+
'username' => $username,
5252
'password' => $password
5353
);
5454
}

0 commit comments

Comments
 (0)