in src/nodes/server/hf-hub-login.ts [129:135]
async _logout() {
localStorage.removeItem("oauth");
this.oauthResult = false;
this.buttonvisible = true;
window.location.href = window.location.href.replace(/\?.*$/, "");
window.location.reload();
}