Updated cloud mode checks.
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
import { LogoutPage } from './LogoutPage';
|
||||
import { Metadata } from 'next';
|
||||
import { LogoutPage } from './LogoutPage';
|
||||
|
||||
export default function () {
|
||||
if (process.env.DISABLE_LOGIN) {
|
||||
if (process.env.DISABLE_LOGIN || process.env.CLOUD_MODE) {
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user