Fix for signing in with Github when adding a new project.

This commit is contained in:
Dan Cryer 2013-05-16 01:41:20 +01:00
parent e1437a9e55
commit eb8383ff5c

View file

@ -126,6 +126,8 @@ class ProjectController extends b8\Controller
{ {
parse_str($resp['body'], $resp); parse_str($resp['body'], $resp);
$_SESSION['github_token'] = $resp['access_token']; $_SESSION['github_token'] = $resp['access_token'];
header('Location: /project/add');
die;
} }
} }