All new accounts created on Gitlab now require administrator approval. If you invite any collaborators, please let Flux staff know so they can approve the accounts.

Commit 3663c68b authored by Leigh B Stoller's avatar Leigh B Stoller

Show last web login in user dashboard.

parent cf6fdf90
......@@ -34,6 +34,10 @@
<td><%= %></td>
<td>Last Login</td>
<td class="format-date"><%= fields.last_weblogin %></td>
<% if (isadmin) { %>
<% if (fields.portal) { %>
......@@ -222,6 +222,7 @@ function Do_AccountDetails()
$results["web_frozen"] = $target_user->weblogin_frozen()? true:false;
$results["nonlocal_id"] = ($target_user->nonlocal_id() ?
$target_user->nonlocal_id() : "");
$results["last_weblogin"] = DateStringGMT(LASTWEBLOGIN($target_idx));
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