Skip to content

Open-Source API Development Ecosystem • https://hoppscotch.io • Offline, On-Prem & Cloud • Web, Desktop & CLI • Open-Source Alternative to Postman, Insomnia

fix(common): resolve issues around shared workspace invite validation (#4836)

James Georgee5be5ff22755
diff --git a/packages/hoppscotch-common/src/pages/join-team.vue b/packages/hoppscotch-common/src/pages/join-team.vue
index ccc27e9f4..ac534632e 100644
--- a/packages/hoppscotch-common/src/pages/join-team.vue
+++ b/packages/hoppscotch-common/src/pages/join-team.vue
@@ -194,6 +194,12 @@ onMounted(async () => {
})
onLoggedIn(async () => {
+ const probableUser = platform.auth.getProbableUser()
+
+ if (probableUser !== null) {
+ await platform.auth.waitProbableLoginToConfirm()
+ }
+
if (typeof route.query.id === "string") {
inviteDetails.execute({
inviteID: route.query.id,