$users */ /** @var \App\Domain\User $currentUser */ /** @var string $csrfToken */ /** @var string $flash */ /** @var string $error */ use function App\Http\e; $errorMessages = [ 'self_demote' => 'You cannot demote yourself — ask another admin.', 'last_admin' => 'Cannot demote the last remaining admin.', 'not_found' => 'User not found.', 'db_error' => 'Could not save. Try again.', ]; $flashMessages = [ 'promoted' => 'Admin granted.', 'demoted' => 'Admin revoked.', 'noop' => 'Nothing changed.', ]; ?>

Users

Everyone who has ever signed in. Toggle admin status here; you cannot demote yourself or the last admin. Users are never deleted — inactive accounts simply stop signing in.

No users yet.
id === $currentUser->id; ?>
Email Display name Last login (UTC) Admin  
email) ?> you displayName) ?> lastLoginAt !== null ? e($u->lastLoginAt) : '' ?>