Fix disable checks.
This commit is contained in:
1 parent
98835bbc78
commit
246e4e5f4f
4 files changed
+10
-10
No files matched your search
+1
-1
@@ -17,7 +17,7 @@ export default function LoginPage({ pageDisabled }) {
|
||||
export async function getServerSideProps() {
|
||||
return {
|
||||
props: {
|
||||
pageDisabled: !!(process.env.DISABLE_LOGIN || process.env.DISABLE_ADMIN),
|
||||
pageDisabled: !!process.env.DISABLE_LOGIN,
|
||||
},
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user