summaryrefslogtreecommitdiff
path: root/modules/gallery/controllers/login.php
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2009-10-27 14:01:53 -0700
committerTim Almdal <tnalmdal@shaw.ca>2009-10-27 14:01:53 -0700
commit3228f04ed9b18938365866ed15027ed3c1b59ad7 (patch)
tree8a998521b95e04a3173ac2cf06b8920edb9a7dc1 /modules/gallery/controllers/login.php
parentab1d21eb34cfca46383ef10b66c49616beb6af15 (diff)
Fire the logon_event when the user logs on. Cleanup some old code from the user/helpers/user.php file."
Diffstat (limited to 'modules/gallery/controllers/login.php')
-rw-r--r--modules/gallery/controllers/login.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/gallery/controllers/login.php b/modules/gallery/controllers/login.php
index 720e6375..3978b64f 100644
--- a/modules/gallery/controllers/login.php
+++ b/modules/gallery/controllers/login.php
@@ -77,6 +77,7 @@ class Login_Controller extends Controller {
}
identity::set_active_user($user);
log::info("user", t("User %name logged in", array("name" => $user->name)));
+ module::event("user_login", $user);
}
// Either way, regenerate the session id to avoid session trapping