changed auth scope
This commit is contained in:
parent
18ad041d96
commit
1983ab4a1b
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user