mirror of
https://github.com/stonith404/pingvin-share.git
synced 2025-01-29 01:28:59 -05:00
refactor: remove type email
This commit is contained in:
parent
b5c7b04fcb
commit
e2527de976
6 changed files with 1 additions and 6 deletions
|
@ -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}`;
|
||||
|
|
|
@ -63,7 +63,6 @@ const Body = ({
|
|||
<Stack>
|
||||
<TextInput label="Username" {...form.getInputProps("username")} />
|
||||
<TextInput
|
||||
type="email"
|
||||
label="Email"
|
||||
{...form.getInputProps("email")}
|
||||
/>
|
||||
|
|
|
@ -80,7 +80,6 @@ const Body = ({
|
|||
{...accountForm.getInputProps("username")}
|
||||
/>
|
||||
<TextInput
|
||||
type="email"
|
||||
label="Email"
|
||||
{...accountForm.getInputProps("email")}
|
||||
/>
|
||||
|
|
|
@ -65,7 +65,6 @@ const SignInForm = () => {
|
|||
>
|
||||
<TextInput
|
||||
label="Email or username"
|
||||
type="email"
|
||||
placeholder="you@email.com"
|
||||
{...form.getInputProps("emailOrUsername")}
|
||||
/>
|
||||
|
|
|
@ -78,7 +78,6 @@ const SignUpForm = () => {
|
|||
/>
|
||||
<TextInput
|
||||
label="Email"
|
||||
type="email"
|
||||
placeholder="you@email.com"
|
||||
mt="md"
|
||||
{...form.getInputProps("email")}
|
||||
|
|
|
@ -81,7 +81,6 @@ const Account = () => {
|
|||
{...accountForm.getInputProps("username")}
|
||||
/>
|
||||
<TextInput
|
||||
type="email"
|
||||
label="Email"
|
||||
{...accountForm.getInputProps("email")}
|
||||
/>
|
||||
|
|
Loading…
Add table
Reference in a new issue