refactor(core)!: Remove basic-auth, external-jwt-auth, and no-auth options (#6362)

Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
This commit is contained in:
Iván Ovejero
2023-06-07 16:53:53 +02:00
committed by कारतोफ्फेलस्क्रिप्ट™
parent a45a2c8c41
commit 8c008f5d22
85 changed files with 297 additions and 831 deletions

View File

@@ -4,7 +4,6 @@
:formLoading="loading"
data-test-id="setup-form"
@submit="onSubmit"
@secondaryClick="showSkipConfirmation"
/>
</template>
@@ -41,7 +40,6 @@ export default defineComponent({
const FORM_CONFIG: IFormBoxConfig = {
title: this.$locale.baseText('auth.setup.setupOwner'),
buttonText: this.$locale.baseText('auth.setup.next'),
secondaryButtonText: this.$locale.baseText('auth.setup.skipSetupTemporarily'),
inputs: [
{
name: 'email',
@@ -177,25 +175,6 @@ export default defineComponent({
}
this.loading = false;
},
async showSkipConfirmation() {
const skip = await this.confirm(
this.$locale.baseText('auth.setup.ownerAccountBenefits'),
this.$locale.baseText('auth.setup.skipOwnerSetupQuestion'),
{
confirmButtonText: this.$locale.baseText('auth.setup.skipSetup'),
cancelButtonText: this.$locale.baseText('auth.setup.goBack'),
},
);
if (skip === MODAL_CONFIRM) {
this.onSkip();
}
},
onSkip() {
void this.usersStore.skipOwnerSetup();
void this.$router.push({
name: VIEWS.NEW_WORKFLOW,
});
},
},
});
</script>