1
0
mirror of https://github.com/stonith404/pingvin-share.git synced 2024-11-05 15:30:14 +01:00

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");
const shareUrl = `${this.config.get("APP_URL")}/share/${shareId}`;

View File

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

View File

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

View File

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

View File

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

View File

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