diff --git a/web/satellite/src/api/auth.ts b/web/satellite/src/api/auth.ts index 376c8909b..d072b8405 100644 --- a/web/satellite/src/api/auth.ts +++ b/web/satellite/src/api/auth.ts @@ -264,6 +264,7 @@ export class AuthHttpApi implements UsersApi { responseData.sessionDuration, responseData.onboardingStart, responseData.onboardingEnd, + responseData.passphrasePrompt, responseData.onboardingStep, ); } @@ -288,6 +289,7 @@ export class AuthHttpApi implements UsersApi { responseData.sessionDuration, responseData.onboardingStart, responseData.onboardingEnd, + responseData.passphrasePrompt, responseData.onboardingStep, ); } diff --git a/web/satellite/src/components/modals/CreateProjectModal.vue b/web/satellite/src/components/modals/CreateProjectModal.vue index 1f926a798..228e8186c 100644 --- a/web/satellite/src/components/modals/CreateProjectModal.vue +++ b/web/satellite/src/components/modals/CreateProjectModal.vue @@ -151,7 +151,9 @@ async function onCreateProjectClick(): Promise { closeModal(); bucketsStore.clearS3Data(); - appStore.updateActiveModal(MODALS.createProjectPassphrase); + if (usersStore.state.settings.passphrasePrompt) { + appStore.updateActiveModal(MODALS.createProjectPassphrase); + } analytics.pageVisit(RouteConfig.ProjectDashboard.path); await router.push(RouteConfig.ProjectDashboard.path); diff --git a/web/satellite/src/components/modals/EnterPassphraseModal.vue b/web/satellite/src/components/modals/EnterPassphraseModal.vue index 1a61f362a..619531e1a 100644 --- a/web/satellite/src/components/modals/EnterPassphraseModal.vue +++ b/web/satellite/src/components/modals/EnterPassphraseModal.vue @@ -2,17 +2,20 @@ // See LICENSE for copying information.