Use email scope
This commit is contained in:
parent
e88355b3d4
commit
5f4eddbe57
@ -215,7 +215,7 @@ sub github_redirect :Path('/github-redirect') Args(0) {
|
|||||||
value => $after,
|
value => $after,
|
||||||
};
|
};
|
||||||
|
|
||||||
$c->res->redirect("https://github.com/login/oauth/authorize?client_id=$client_id");
|
$c->res->redirect("https://github.com/login/oauth/authorize?client_id=$client_id&scope=user:email");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user