diff --git a/php/AuthSCHClient.class.php b/php/AuthSCHClient.class.php index 89450f7f3defa3196a129c4bbe04b1565644bbbd..099f9858c2eb3f8e3982881e4778315df3fa9461 100644 --- a/php/AuthSCHClient.class.php +++ b/php/AuthSCHClient.class.php @@ -18,7 +18,7 @@ class AuthSCHClient { session_set_cookie_params(3600,"/"); session_start(); } - if(!isset($_SESSION['access_token'])) { + if(!isset($_SESSION['tokens'])) { // auth token not exists // get tokens from auth.sch.bme.hu