mirror of
https://github.com/unraid/api.git
synced 2026-01-06 16:49:49 -06:00
Merge pull request #39 from unraid/improve/graph-apikey
improve: adds apikey to state.php
This commit is contained in:
@@ -112,6 +112,7 @@ $arr['registered'] = empty($remote['apikey']) || empty($var['regFILE']) ? 0 : 1;
|
||||
$arr['username'] = $remote['username'];
|
||||
$arr['avatar'] = $remote['avatar'];
|
||||
$arr['locale'] = $_SESSION['locale'] ? $_SESSION['locale'] : 'en_US';
|
||||
$arr['apikey'] = $remote['apikey'];
|
||||
|
||||
echo json_encode($arr);
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user