feat: implement multi-tenancy and super admin impersonation with security banner
This commit is contained in:
@@ -7,6 +7,7 @@ import TextInput from '@/Components/TextInput.vue';
|
||||
import { Head, Link, useForm } from '@inertiajs/vue3';
|
||||
|
||||
const form = useForm({
|
||||
structure_name: '',
|
||||
name: '',
|
||||
email: '',
|
||||
password: '',
|
||||
@@ -26,7 +27,23 @@ const submit = () => {
|
||||
|
||||
<form @submit.prevent="submit">
|
||||
<div>
|
||||
<InputLabel for="name" value="Nom" />
|
||||
<InputLabel for="structure_name" value="Nom de votre Organisation (SaaS)" />
|
||||
|
||||
<TextInput
|
||||
id="structure_name"
|
||||
type="text"
|
||||
class="mt-1 block w-full"
|
||||
v-model="form.structure_name"
|
||||
required
|
||||
autofocus
|
||||
autocomplete="organization"
|
||||
/>
|
||||
|
||||
<InputError class="mt-2" :message="form.errors.structure_name" />
|
||||
</div>
|
||||
|
||||
<div class="mt-4">
|
||||
<InputLabel for="name" value="Votre Nom complet" />
|
||||
|
||||
<TextInput
|
||||
id="name"
|
||||
@@ -34,7 +51,6 @@ const submit = () => {
|
||||
class="mt-1 block w-full"
|
||||
v-model="form.name"
|
||||
required
|
||||
autofocus
|
||||
autocomplete="name"
|
||||
/>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user