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

@@ -49,7 +49,7 @@ const SignInForm = () => {
>
Welcome back
</Title>
{config.get("allowRegistration") && (
{config.get("ALLOW_REGISTRATION") && (
<Text color="dimmed" size="sm" align="center" mt={5}>
You don't have an account yet?{" "}
<Anchor component={Link} href={"signUp"} size="sm">
@@ -65,6 +65,7 @@ const SignInForm = () => {
>
<TextInput
label="Email or username"
type="email"
placeholder="you@email.com"
{...form.getInputProps("emailOrUsername")}
/>