diff --git a/src/components/login.js b/src/components/login.js index 78fc837e0..8762da65a 100644 --- a/src/components/login.js +++ b/src/components/login.js @@ -16,8 +16,7 @@ firebase.initializeApp({ const auth = firebase.auth(); const githubLoginProvider = new firebase.auth.GithubAuthProvider(); -async function login() { - githubLoginProvider.addScope('repo'); +async function login() { auth.signInWithPopup(githubLoginProvider).then((res)=>{ const token = res.credential.accessToken const user = res.additionalUserInfo.username;