refactor: convert config variables to upper case

This commit is contained in:
Elias Schneider
2022-12-05 16:53:52 +01:00
parent d4a0f1a4f1
commit 0499548dd3
20 changed files with 54 additions and 51 deletions

View File

@@ -57,7 +57,7 @@ const SignUpForm = () => {
>
Sign up
</Title>
{config.get("allowRegistration") && (
{config.get("ALLOW_REGISTRATION") && (
<Text color="dimmed" size="sm" align="center" mt={5}>
You have an account already?{" "}
<Anchor component={Link} href={"signIn"} size="sm">
@@ -78,6 +78,7 @@ const SignUpForm = () => {
/>
<TextInput
label="Email"
type="email"
placeholder="you@email.com"
mt="md"
{...form.getInputProps("email")}