Moved env checks to server pages.

This commit is contained in:
Mike Cao 2025-07-24 23:05:51 -07:00
parent 5b6292dd11
commit 784677e180
7 changed files with 18 additions and 18 deletions

View file

@ -2,6 +2,10 @@ import LogoutPage from './LogoutPage';
import { Metadata } from 'next';
export default function () {
if (process.env.DISABLE_LOGIN) {
return null;
}
return <LogoutPage />;
}