Skip to content

Commit

Permalink
Normal PC members can no longer see "Last update".
Browse files Browse the repository at this point in the history
That can leak some information.
  • Loading branch information
kohler committed Jul 3, 2024
1 parent cdd09a7 commit 819e170
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/contactlist.php
Original file line number Diff line number Diff line change
Expand Up @@ -212,8 +212,9 @@ function selector($fieldId) {
return true;
case self::FIELD_SELECTOR:
case self::FIELD_EMAIL:
case self::FIELD_LASTVISIT:
return $this->user->isPC;
case self::FIELD_LASTVISIT:
return $this->user->privChair;
case self::FIELD_HIGHTOPICS:
case self::FIELD_LOWTOPICS:
if (!$this->user->isPC) {
Expand Down

0 comments on commit 819e170

Please sign in to comment.