Skip to content

Commit

Permalink
re-activation of outdated accounts
Browse files Browse the repository at this point in the history
  • Loading branch information
Fred Neumann committed Apr 3, 2020
1 parent c6e60e2 commit 78f9ae8
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions classes/class.ilVhbShibAuthUser.php
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,10 @@ public function create()
return $this->getId();
}
else {
$this->setTimeLimitUnlimited(1);
$this->setTimeLimitFrom(time());
$this->setTimeLimitUntil(time());
$this->setActive(true);
parent::update();
return $this->getId();
}
Expand All @@ -124,6 +128,10 @@ public function update() {
return true;
}
else {
$this->setTimeLimitUnlimited(1);
$this->setTimeLimitFrom(time());
$this->setTimeLimitUntil(time());
$this->setActive(true);
return parent::update();
}
}
Expand Down

0 comments on commit 78f9ae8

Please sign in to comment.