refactor: remove type email

This commit is contained in:
Elias Schneider
2022-12-05 18:09:18 +01:00
parent b5c7b04fcb
commit e2527de976
6 changed files with 1 additions and 6 deletions

View File

@@ -19,7 +19,7 @@ export class EmailService {
}, },
}); });
if (!this.config.get("emailRecepientsEnabled")) if (!this.config.get("ENABLE_EMAIL_RECIPIENTS"))
throw new InternalServerErrorException("Email service disabled"); throw new InternalServerErrorException("Email service disabled");
const shareUrl = `${this.config.get("APP_URL")}/share/${shareId}`; const shareUrl = `${this.config.get("APP_URL")}/share/${shareId}`;

View File

@@ -63,7 +63,6 @@ const Body = ({
<Stack> <Stack>
<TextInput label="Username" {...form.getInputProps("username")} /> <TextInput label="Username" {...form.getInputProps("username")} />
<TextInput <TextInput
type="email"
label="Email" label="Email"
{...form.getInputProps("email")} {...form.getInputProps("email")}
/> />

View File

@@ -80,7 +80,6 @@ const Body = ({
{...accountForm.getInputProps("username")} {...accountForm.getInputProps("username")}
/> />
<TextInput <TextInput
type="email"
label="Email" label="Email"
{...accountForm.getInputProps("email")} {...accountForm.getInputProps("email")}
/> />

View File

@@ -65,7 +65,6 @@ const SignInForm = () => {
> >
<TextInput <TextInput
label="Email or username" label="Email or username"
type="email"
placeholder="you@email.com" placeholder="you@email.com"
{...form.getInputProps("emailOrUsername")} {...form.getInputProps("emailOrUsername")}
/> />

View File

@@ -78,7 +78,6 @@ const SignUpForm = () => {
/> />
<TextInput <TextInput
label="Email" label="Email"
type="email"
placeholder="you@email.com" placeholder="you@email.com"
mt="md" mt="md"
{...form.getInputProps("email")} {...form.getInputProps("email")}

View File

@@ -81,7 +81,6 @@ const Account = () => {
{...accountForm.getInputProps("username")} {...accountForm.getInputProps("username")}
/> />
<TextInput <TextInput
type="email"
label="Email" label="Email"
{...accountForm.getInputProps("email")} {...accountForm.getInputProps("email")}
/> />