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:
authorsgiehl <stefan@piwik.org>2016-10-30 15:44:20 +0300
committersgiehl <stefan@piwik.org>2016-10-30 15:44:20 +0300
commit2aeb078233a01eb742adf5027e5bbeef5f6410d3 (patch)
tree7f6b980c10419135bb139459236575a86cbadaf1 /plugins/Login
parent4aa783c3c7ec79112fda3576abb28008234fe053 (diff)
readd 'Login.authenticate' event
Diffstat (limited to 'plugins/Login')
-rw-r--r--plugins/Login/SessionInitializer.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/plugins/Login/SessionInitializer.php b/plugins/Login/SessionInitializer.php
index 6d7f81617d..2caca89aff 100644
--- a/plugins/Login/SessionInitializer.php
+++ b/plugins/Login/SessionInitializer.php
@@ -134,6 +134,13 @@ class SessionInitializer
*/
protected function doAuthenticateSession(AuthInterface $auth)
{
+ Piwik::postEvent(
+ 'Login.authenticate',
+ array(
+ $auth->getLogin(),
+ )
+ );
+
return $auth->authenticate();
}