diff options
author | Tim Almdal <tnalmdal@shaw.ca> | 2009-10-27 14:01:53 -0700 |
---|---|---|
committer | Tim Almdal <tnalmdal@shaw.ca> | 2009-10-27 14:01:53 -0700 |
commit | 3228f04ed9b18938365866ed15027ed3c1b59ad7 (patch) | |
tree | 8a998521b95e04a3173ac2cf06b8920edb9a7dc1 /modules/gallery/controllers/login.php | |
parent | ab1d21eb34cfca46383ef10b66c49616beb6af15 (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.php | 1 |
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 |