mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +00:00
refactor(core)!: Remove basic-auth, external-jwt-auth, and no-auth options (#6362)
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
This commit is contained in:
committed by
कारतोफ्फेलस्क्रिप्ट™
parent
a45a2c8c41
commit
8c008f5d22
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user