change in confirm mechanism

This commit is contained in:
Mateusz Gruszczyński
2026-07-28 10:17:45 +02:00
parent d38b5b0b51
commit c8d441fa76
6 changed files with 31 additions and 8 deletions
+2 -2
View File
@@ -1,7 +1,7 @@
import { installGlobalDiagnostics, logInfo } from "@rustpad/logger";
installGlobalDiagnostics();
import { bindIdentityDialog, handleAccountActionToken, handleAccountConfirmationToken, handleResetToken, logoutCurrentSession, validateCurrentSession } from "@rustpad/auth-ui";
import { bindIdentityDialog, handleAccountActionToken, handleAccountConfirmationToken, handleResetToken, handleShareInvitationToken, logoutCurrentSession, validateCurrentSession } from "@rustpad/auth-ui";
import { getAuthToken, setAccessToken } from "@rustpad/session";
import { api } from "@rustpad/api";
import { copyText } from "@rustpad/clipboard";
@@ -83,7 +83,7 @@ document.querySelector("#workspace-form").addEventListener("submit", async (even
}
});
await handleAccountConfirmationToken() || await handleResetToken() || await handleAccountActionToken();
await handleAccountConfirmationToken() || await handleResetToken() || await handleAccountActionToken() || await handleShareInvitationToken();
const identityDialog = document.querySelector("#identity-dialog");
const guestAccount = document.querySelector("#footer-account-guest");