summaryrefslogtreecommitdiffstats
path: root/web/template/account_details.php
diff options
context:
space:
mode:
Diffstat (limited to 'web/template/account_details.php')
-rw-r--r--web/template/account_details.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/web/template/account_details.php b/web/template/account_details.php
index 5ba01d9..a4e20c9 100644
--- a/web/template/account_details.php
+++ b/web/template/account_details.php
@@ -43,6 +43,14 @@
<?= $row["InactivityTS"] ? __("Inactive since") . ' ' . date("Y-m-d H:i", $row["InactivityTS"]) : __("Active"); ?>
</td>
</tr>
+ <?php if ($atype == "Trusted User" || $atype == "Developer"): ?>
+ <tr>
+ <th><?= __("Last Login") . ":" ?></th>
+ <td>
+ <?= $row["LastLogin"] ? date("Y-m-d", $row["LastLogin"]) : __("Never"); ?>
+ </td>
+ </tr>
+ <?php endif; ?>
<tr>
<th>Links:</th>
<td><ul>