Commit 17db6ffc authored by Robert Lyon's avatar Robert Lyon Committed by Gerrit Code Review

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

parents e35e3528 8e41e3bb
......@@ -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