From 1983ab4a1bafafdf5b1671f2729ff077fa6599a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A1ssio=20Zen?= Date: Tue, 19 Jul 2016 17:28:27 -0300 Subject: [PATCH] changed auth scope --- src/backends/github/AuthenticationPage.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backends/github/AuthenticationPage.js b/src/backends/github/AuthenticationPage.js index b28c5d47..97cec461 100644 --- a/src/backends/github/AuthenticationPage.js +++ b/src/backends/github/AuthenticationPage.js @@ -16,7 +16,7 @@ export default class AuthenticationPage extends React.Component { e.preventDefault(); const auth = new Authenticator({site_id: 'cms.netlify.com'}); - auth.authenticate({provider: 'github', scope: 'user'}, (err, data) => { + auth.authenticate({provider: 'github', scope: 'repo'}, (err, data) => { if (err) { this.setState({loginError: err.toString()}); return;