Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordiosmosis <benakamoorthi@fastmail.fm>2013-10-29 01:46:39 +0400
committerdiosmosis <benakamoorthi@fastmail.fm>2013-10-29 01:47:10 +0400
commit05ef2e992ee93d8e922f4a6650d019ba8fa4a3ca (patch)
tree3434121659d91f325cb60f11962a7fcda4db3d43 /core/Auth.php
parent867da5056644d057fa74415af6b6059e188aa1c4 (diff)
Remove Login.initSession event and move logic to new method in Auth interface.
Diffstat (limited to 'core/Auth.php')
-rw-r--r--core/Auth.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/core/Auth.php b/core/Auth.php
index 0b47da6ae1..9bf7433419 100644
--- a/core/Auth.php
+++ b/core/Auth.php
@@ -12,7 +12,7 @@
namespace Piwik;
/**
- * Interface for authentication modules
+ * Base for authentication modules
*
* @package Piwik
* @subpackage Piwik_Auth
@@ -32,6 +32,11 @@ interface Auth
* @return AuthResult
*/
public function authenticate();
+
+ /**
+ * Authenticates the user and initializes the session.
+ */
+ public function initSession($login, $md5Password, $rememberMe);
}
/**