mirror of
https://github.com/umami-software/umami.git
synced 2025-12-08 05:12:36 +01:00
Removed DISABLE_LOGIN from middleware.
This commit is contained in:
parent
0f37c17cb5
commit
5a5a278d9e
4 changed files with 5 additions and 11 deletions
|
|
@ -3,7 +3,7 @@ import Layout from 'components/layout/Layout';
|
|||
import LoginForm from 'components/forms/LoginForm';
|
||||
|
||||
export default function LoginPage() {
|
||||
if (process.env.DISABLE_LOGIN) {
|
||||
if (process.env.loginDisabled) {
|
||||
return null;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue