Commit 8e41e3bb authored by Rebecca Blundell's avatar Rebecca Blundell

Bug 1740425: Displaying last login date on the user accounts page

Added a field displaying the last logged in date

behatnotneeded

Change-Id: I90febf22f0c06d1d739fcd1f9f93857e5f8d9db4
parent 1e54fdc4
......@@ -104,6 +104,12 @@ $elements['maildisabled'] = array(
'title' => get_string('disableemail', 'admin'),
'help' => true,
);
$elements['lastlogin'] = array(
'type' => 'html',
'class' => 'htmldescription',
'title' => get_string('lastlogin', 'admin'),
'value' => format_date($user->lastlogin),
);
$elements['expiry'] = array(
'type' => 'date',
'class' => 'form-condensed',
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment