summaryrefslogtreecommitdiffstats
path: root/Bugzilla.pm
diff options
context:
space:
mode:
Diffstat (limited to 'Bugzilla.pm')
-rw-r--r--Bugzilla.pm6
1 files changed, 6 insertions, 0 deletions
diff --git a/Bugzilla.pm b/Bugzilla.pm
index 801ac8dfa..cbc9ec1ec 100644
--- a/Bugzilla.pm
+++ b/Bugzilla.pm
@@ -371,6 +371,12 @@ sub login {
$class->set_user($authenticated_user);
}
+ if ($class->sudoer) {
+ $class->sudoer->update_last_seen_date();
+ } else {
+ $class->user->update_last_seen_date();
+ }
+
return $class->user;
}