summaryrefslogtreecommitdiff
path: root/modules/user/controllers/login.php
diff options
context:
space:
mode:
Diffstat (limited to 'modules/user/controllers/login.php')
-rw-r--r--modules/user/controllers/login.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/user/controllers/login.php b/modules/user/controllers/login.php
index 3c1d6542..60ac16c0 100644
--- a/modules/user/controllers/login.php
+++ b/modules/user/controllers/login.php
@@ -30,6 +30,8 @@ class Login_Controller extends Controller {
if ($user->loaded &&
user::is_correct_password($user, $group->password->value)) {
user::login($user);
+ log::add("user", "User $user->name logged in",
+ log::INFO, html::anchor("user/$user->id", $user->name));
if ($continue = $this->input->get("continue")) {
url::redirect($continue);
}