Skip to content

Commit

Permalink
Build of new 2.4 library
Browse files Browse the repository at this point in the history
  • Loading branch information
domibarton committed May 4, 2016
1 parent b7cca96 commit d2b96b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/ZabbixApiAbstract.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -504,7 +504,7 @@ final public function userLogin($params=array(), $arrayKeyProperty='', $tokenCac

// build filename for cached auth token
if($tokenCacheDir && array_key_exists('user', $params) && is_dir($tokenCacheDir))
$tokenCacheFile = $tokenCacheDir.'/.zabbixapi-token-'.md5($params['user'].posix_getuid());
$tokenCacheFile = $tokenCacheDir.'/.zabbixapi-token-'.md5($params['user'].'|'.posix_getuid());

// try to read cached auth token
if(isset($tokenCacheFile) && is_file($tokenCacheFile))
Expand Down

0 comments on commit d2b96b6

Please sign in to comment.