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 586e031ff..9a3b75756 100644
--- a/Bugzilla.pm
+++ b/Bugzilla.pm
@@ -376,6 +376,12 @@ sub login {
$class->set_user($authenticated_user);
}
+ if (Bugzilla->sudoer) {
+ Bugzilla->sudoer->update_last_seen_date();
+ } else {
+ $class->user->update_last_seen_date();
+ }
+
return $class->user;
}