Skip to content

Commit

Permalink
Auto logout
Browse files Browse the repository at this point in the history
  • Loading branch information
bicisteadm committed Mar 26, 2023
1 parent 79a7e2b commit dca7f03
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/ISPconfigAPI.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,4 +69,9 @@ public function logout(): bool
return true;
}

public function __destruct()
{
$this->logout();
}

}

0 comments on commit dca7f03

Please sign in to comment.