Skip to content

Commit 6d28f31

Browse files
Remove full name field from Signup page
1 parent c7ddd38 commit 6d28f31

File tree

5 files changed

+1
-26
lines changed

5 files changed

+1
-26
lines changed

frontend/openapi.json

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1006,11 +1006,7 @@
10061006
"UserRegister": {
10071007
"properties": {
10081008
"email": { "type": "string", "maxLength": 255, "format": "email", "title": "Email" },
1009-
"password": { "type": "string", "maxLength": 40, "minLength": 8, "title": "Password" },
1010-
"full_name": {
1011-
"anyOf": [{ "type": "string", "maxLength": 255 }, { "type": "null" }],
1012-
"title": "Full Name"
1013-
}
1009+
"password": { "type": "string", "maxLength": 40, "minLength": 8, "title": "Password" }
10141010
},
10151011
"type": "object",
10161012
"required": ["email", "password"],

frontend/public/locales/en/translation.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,6 @@
106106
"errorCreatingAccount": "Error creating account",
107107
"errorLoadingCard": "Error loading card",
108108
"errorSavingCard": "Error saving card",
109-
"fullNameIsRequired": "Full name is required",
110109
"invalidCredentials": "Invalid credentials",
111110
"invalidName": "Invalid name",
112111
"invalidEmail": "Invalid email address",

frontend/public/locales/es/translation.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,6 @@
106106
"errorCreatingAccount": "Error al crear la cuenta",
107107
"errorLoadingCard": "Error al cargar la tarjeta",
108108
"errorSavingCard": "Error al guardar la tarjeta",
109-
"fullNameIsRequired": "Nombre completo es requerido",
110109
"invalidCredentials": "Credenciales inválidas",
111110
"invalidName": "Nombre inválido",
112111
"invalidEmail": "Dirección de correo electrónico inválida",

frontend/public/locales/nl/translation.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,6 @@
106106
"errorCreatingAccount": "Fout bij het aanmaken van account",
107107
"errorLoadingCard": "Fout bij het laden van kaart",
108108
"errorSavingCard": "Fout bij het opslaan van kaart",
109-
"fullNameIsRequired": "Volledige naam is vereist",
110109
"invalidCredentials": "Ongeldige inloggegevens",
111110
"invalidName": "Ongeldige naam",
112111
"invalidEmail": "Ongeldig e-mailadres",

frontend/src/routes/_publicLayout/signup.tsx

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ function SignUp() {
4040
criteriaMode: 'all',
4141
defaultValues: {
4242
email: '',
43-
full_name: '',
4443
password: '',
4544
confirm_password: '',
4645
},
@@ -65,23 +64,6 @@ function SignUp() {
6564
<form onSubmit={handleSubmit(onSubmit)}>
6665
<Fieldset.Root maxW="sm">
6766
<Fieldset.Content>
68-
<Field.Root>
69-
<Field.Label>{t('general.words.fullName')}</Field.Label>
70-
<DefaultInput
71-
placeholder={t('general.words.fullName')}
72-
type="text"
73-
minLength={3}
74-
{...register('full_name', {
75-
required: t('general.errors.fullNameIsRequired'),
76-
})}
77-
/>
78-
{errors.full_name && (
79-
<Text color="red.500" fontSize="sm">
80-
{errors.full_name.message}
81-
</Text>
82-
)}
83-
</Field.Root>
84-
8567
<Field.Root>
8668
<Field.Label>{t('general.words.email')}</Field.Label>
8769
<DefaultInput

0 commit comments

Comments
 (0)