diff --git a/core/Access.php b/core/Access.php index 4c5d397f24cb3b626a7d15312dda9e0a56774251..acf69801814b59f9945e25a77f790aa342dbed8f 100644 --- a/core/Access.php +++ b/core/Access.php @@ -189,8 +189,6 @@ class Piwik_Access { $this->isSuperUser = true; $this->idsitesByAccess['superuser'] = Piwik_SitesManager_API::getInstance()->getAllSitesId(); - $config = Piwik_Config::getInstance(); - $this->token_auth = md5($config->superuser['login'].$config->superuser['password']); return true; } @@ -210,7 +208,6 @@ class Piwik_Access { $this->isSuperUser = false; $this->idsitesByAccess['superuser'] = array(); - $this->token_auth = null; } }