Commit
•
a683de4
1
Parent(s):
ac0e923
Update index.html
Browse files- index.html +2 -1
index.html
CHANGED
@@ -55,7 +55,8 @@
|
|
55 |
} else {
|
56 |
document.getElementById("signin").style.removeProperty("display");
|
57 |
document.getElementById("signin").onclick = async function() {
|
58 |
-
|
|
|
59 |
}
|
60 |
}
|
61 |
</script>
|
|
|
55 |
} else {
|
56 |
document.getElementById("signin").style.removeProperty("display");
|
57 |
document.getElementById("signin").onclick = async function() {
|
58 |
+
// prompt=consent to re-trigger the consent screen instead of silently redirecting
|
59 |
+
window.location.href = (await oauthLoginUrl({scopes: window.huggingface.variables.OAUTH_SCOPES})) + "&prompt=consent";
|
60 |
}
|
61 |
}
|
62 |
</script>
|