From 6764f477abaad9cd2a415308a4f8c1b200358af7 Mon Sep 17 00:00:00 2001 From: Evan Sims Date: Mon, 30 Oct 2023 17:00:21 -0500 Subject: [PATCH] Update README.md Signed-off-by: Evan Sims --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e021421d..76671278 100644 --- a/README.md +++ b/README.md @@ -77,7 +77,7 @@ Use the `getCredentials()` method to check if a user is authenticated. // getCredentials() returns null if the user is not authenticated. $session = $auth0->getCredentials(); -if (null === $session || $session->accessTokenExpired()) { +if (null === $session || $session->accessTokenExpired) { // Redirect to Auth0 to authenticate the user. header('Location: ' . $auth0->login()); exit;