Skip to content
This repository has been archived by the owner on Feb 17, 2024. It is now read-only.

Bugfix release for multiple calls to isAuthenticated

Compare
Choose a tag to compare
@lambdacasserole lambdacasserole released this 25 Sep 18:31
· 11 commits to master since this release

The use of setcookie to persist the authentication token was causing the following weirdness to happen:

$a = $auth->isAuthenticated(); // true
$b = $auth->isAuthenticated(); // false

This release addresses this bug. The isAuthenticated function can now be called twice or more in the same request and still give an accurate return value.