mirror of
https://github.com/umami-software/umami.git
synced 2026-02-14 17:45:38 +01:00
Updated handling of env vars.
This commit is contained in:
parent
abd0913e9b
commit
30c1933718
8 changed files with 192 additions and 155 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue