Skip to content
Extraits de code Groupes Projets
Valider ad61794d rédigé par benakamoorthi's avatar benakamoorthi
Parcourir les fichiers

Fixing build, more debug output finagling.

git-svn-id: http://dev.piwik.org/svn/trunk@7733 59fd770c-687e-43c8-a1e3-f5a4ff64c105
parent 4ddf3936
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -86,7 +86,7 @@ class Piwik_Login_Auth implements Piwik_Auth
if ($this->token_auth !== null)
{
echo "\nROOT LOGIN: '$rootLogin'\nROOT TOKEN: '$rootToken'\nAUTH SUPPLIED: '{$this->token_auth}\n'";
echo "\nCHECKING AUTH - ROOT LOGIN: '$rootLogin'\nROOT TOKEN: '$rootPassword'\n";
}
return new Piwik_Auth_Result( Piwik_Auth_Result::FAILURE, $this->login, $this->token_auth );
......
......@@ -572,7 +572,12 @@ abstract class IntegrationTestCase extends PHPUnit_Framework_TestCase
*/
public static function getTokenAuth()
{
return md5(Zend_Registry::get('config')->superuser->login . Zend_Registry::get('config')->superuser->password);
echo "GETTING TOKEN AUTH - LOGIN: '".Zend_Registry::get('config')->superuser->login."'\n".
"PASSWORD: '".Zend_Registry::get('config')->superuser->password."'\n";
return Piwik_UsersManager_API::getInstance()->getTokenAuth(
Zend_Registry::get('config')->superuser->login,
Zend_Registry::get('config')->superuser->password
);
}
/**
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter