summaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
Diffstat (limited to 'web')
-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 5ba01d99..a4e20c9c 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>