From d777338ec729fc5052101e0a3c4af85c75bde2ba Mon Sep 17 00:00:00 2001 From: fengyuexingzi Date: Wed, 13 Jun 2018 13:15:39 +0800 Subject: [PATCH] token --- auth/linkedin/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/auth/linkedin/index.php b/auth/linkedin/index.php index 3fd974c..74dcea6 100644 --- a/auth/linkedin/index.php +++ b/auth/linkedin/index.php @@ -12,7 +12,7 @@ require_once "./function.php"; $state = base64_encode(openssl_random_pseudo_bytes(20)); session_start(); -$_SESSION['$state'] = $state; +$_SESSION['state'] = $state; function getCodeUrl() {