Updated handling of env vars.

This commit is contained in:
Mike Cao 2024-05-11 21:52:40 -07:00
parent abd0913e9b
commit 30c1933718
8 changed files with 192 additions and 155 deletions

View file

@ -3,7 +3,7 @@ import LoginForm from './LoginForm';
import styles from './LoginPage.module.css';
export function LoginPage() {
if (process.env.loginDisabled) {
if (process.env.disableLogin) {
return null;
}