changed auth scope

This commit is contained in:
Cássio Zen 2016-07-19 17:28:27 -03:00
parent 18ad041d96
commit 1983ab4a1b

View File

@ -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;