From de623488099f2c9424d864b089ded7a7230913fe Mon Sep 17 00:00:00 2001 From: "Namhyeon, Go" Date: Thu, 27 Sep 2018 01:51:35 +0900 Subject: [PATCH] Update api.socialhub.php --- route/api.socialhub.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/route/api.socialhub.php b/route/api.socialhub.php index f28e9fa..17a9a7d 100644 --- a/route/api.socialhub.php +++ b/route/api.socialhub.php @@ -92,7 +92,7 @@ if(!$session_flag) { ), false)); } else { // if success authenticate - $session_id = get_hashed_text(make_random_id(32)); + $api_session_id = get_hashed_text(make_random_id(32)); $session_data = array( "provider" => $provider, "action" => $action, @@ -111,7 +111,6 @@ if(!$session_flag) { } else { set_session("api_session_id", $api_session_id); } -} else { } // do action