Skip to content

Commit

Permalink
added cache lifetime to session
Browse files Browse the repository at this point in the history
  • Loading branch information
TobiasFranek committed Feb 7, 2017
1 parent 93588e0 commit 026ad3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Webuntis.php
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ public function authenticate($username, $password) {
'userId' => $this->currentUserId,
'userType' => $this->currentUserType,
'tokenCreatedAt' => new \DateTime()
]);
], 86400);

$this->session = $result['sessionId'];

Expand Down

0 comments on commit 026ad3c

Please sign in to comment.