tylermullen commited on
Commit
50ea48d
·
verified ·
1 Parent(s): af649d8

Update index.js

Browse files
Files changed (1) hide show
  1. index.js +1 -1
index.js CHANGED
@@ -114,7 +114,7 @@ function requireSignIn() {
114
  document.getElementById('sign-in-message').style.removeProperty("display");
115
  document.getElementById("signin").onclick = async function() {
116
  // prompt=consent to re-trigger the consent screen instead of silently redirecting
117
- window.location.href = (await oauthLoginUrl({scopes: window.huggingface.variables.OAUTH_SCOPES})) + "&prompt=consent" + "&orgIds=";
118
  };
119
  // clear old oauth, if any
120
  localStorage.removeItem("oauth");
 
114
  document.getElementById('sign-in-message').style.removeProperty("display");
115
  document.getElementById("signin").onclick = async function() {
116
  // prompt=consent to re-trigger the consent screen instead of silently redirecting
117
+ window.location.href = (await oauthLoginUrl({scopes: window.huggingface.variables.OAUTH_SCOPES})) + "&prompt=consent";
118
  };
119
  // clear old oauth, if any
120
  localStorage.removeItem("oauth");