Fix for signing in with Github when adding a new project.
This commit is contained in:
parent
e1437a9e55
commit
eb8383ff5c
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue