{"action":"created","issue":{"url":"https://api.github.com/repos/SmItH197/SteamAuthentication/issues/68","labels_url":"https://api.github.com/repos/SmItH197/SteamAuthentication/issues/68/labels{/name}","comments_url":"https://api.github.com/repos/SmItH197/SteamAuthentication/issues/68/comments","events_url":"https://api.github.com/repos/SmItH197/SteamAuthentication/issues/68/events","html_url":"https://github.com/SmItH197/SteamAuthentication/issues/68","id":94691288,"number":68,"title":"Redirect after successful login does not work.","user":{"login":"TweCha","id":10759579,"avatar_url":"https://avatars.githubusercontent.com/u/10759579?v=3","gravatar_id":"","url":"https://api.github.com/users/TweCha","html_url":"https://github.com/TweCha","followers_url":"https://api.github.com/users/TweCha/followers","following_url":"https://api.github.com/users/TweCha/following{/other_user}","gists_url":"https://api.github.com/users/TweCha/gists{/gist_id}","starred_url":"https://api.github.com/users/TweCha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TweCha/subscriptions","organizations_url":"https://api.github.com/users/TweCha/orgs","repos_url":"https://api.github.com/users/TweCha/repos","events_url":"https://api.github.com/users/TweCha/events{/privacy}","received_events_url":"https://api.github.com/users/TweCha/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-07-13T10:32:24Z","updated_at":"2015-07-13T18:31:26Z","closed_at":null,"body":"In the config file this does not do anything:\r\n```php\r\n$steamauth['loginpage'] = \"../logincheck/\";\r\n```"},"comment":{"url":"https://api.github.com/repos/SmItH197/SteamAuthentication/issues/comments/121016537","html_url":"https://github.com/SmItH197/SteamAuthentication/issues/68#issuecomment-121016537","issue_url":"https://api.github.com/repos/SmItH197/SteamAuthentication/issues/68","id":121016537,"user":{"login":"TweCha","id":10759579,"avatar_url":"https://avatars.githubusercontent.com/u/10759579?v=3","gravatar_id":"","url":"https://api.github.com/users/TweCha","html_url":"https://github.com/TweCha","followers_url":"https://api.github.com/users/TweCha/followers","following_url":"https://api.github.com/users/TweCha/following{/other_user}","gists_url":"https://api.github.com/users/TweCha/gists{/gist_id}","starred_url":"https://api.github.com/users/TweCha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TweCha/subscriptions","organizations_url":"https://api.github.com/users/TweCha/orgs","repos_url":"https://api.github.com/users/TweCha/repos","events_url":"https://api.github.com/users/TweCha/events{/privacy}","received_events_url":"https://api.github.com/users/TweCha/received_events","type":"User","site_admin":false},"created_at":"2015-07-13T18:31:26Z","updated_at":"2015-07-13T18:31:26Z","body":"So that didn't work, then i  made a small test site to make sure another part of my code wasn't interfering and its still not working.\r\n\r\n#### index.php\r\n```php\r\n<?php require __DIR__ . '/steamauth/steamauth.php'; ?>\r\n<!DOCTYPE html>\r\n<html>\r\n<head>\r\n\t<title>Test</title>\r\n</head>\r\n<body>\r\n<?php \r\nif(!isset($_SESSION['steamid'])) {\r\n            echo steamlogin();\r\n        } else {\r\n          include ('steamauth/userInfo.php');\r\n            echo '<img src=\"' .$steamprofile['avatar']. '\">';\r\n            echo logoutbutton();\r\n        }\r\n?>\r\n</body>\r\n</html>\r\n```\r\n\r\n#### steamauth/settings.php\r\n```php\r\n<?php\r\n$steamauth['apikey'] = \"REDACTED\"; // Your Steam WebAPI-Key found at http://steamcommunity.com/dev/apikey\r\n$steamauth['domainname'] = \"localhost\"; // The main URL of your website displayed in the login page\r\n$steamauth['buttonstyle'] = \"large_no\"; // Style of the login button [small|large_no|large]\r\n$steamauth['logoutpage'] = \"\"; // Page to redirect to after a successfull logout (from the directory the SteamAuth-folder is located in) - NO slash at the beginning!\r\n$steamauth['loginpage'] = \"../logincheck/\"; // Page to redirect to after a successfull login (from the directory the SteamAuth-folder is located in) - NO slash at the beginning!\r\n\r\n// System stuff\r\nif (empty($steamauth['apikey'])) {die(\"<div style='display: block; width: 100%; background-color: red; text-align: center;'>SteamAuth:<br>Please supply an API-Key!</div>\");}\r\nif (empty($steamauth['domainname'])) {$steamauth['domainname'] = \"localhost\";}\r\nif ($steamauth['buttonstyle'] != \"small\" and $steamauth['buttonstyle'] != \"large\") {$steamauth['buttonstyle'] = \"large_no\";}\r\n?>\r\n```\r\n\r\n#### /logincheck/index.php\r\n```php\r\necho 'just work already';\r\n```"}}