[Web] Show users last PW change, allow to select n days for last logins

This commit is contained in:
andryyy
2021-06-09 07:19:57 +02:00
parent da20d5dc38
commit 47b57df3a2
11 changed files with 65 additions and 56 deletions

View File

@@ -641,6 +641,7 @@ if (isset($_GET['query'])) {
case "last-login":
if ($object) {
// extra == days
if (isset($extra) && intval($extra) >= 1) {
$data = last_login('get', $object, intval($extra));
}