mirror of
https://github.com/documenso/documenso.git
synced 2025-11-15 09:12:02 +10:00
explicit true criteria
This commit is contained in:
@ -15,8 +15,7 @@ export default function SignupPage(props: { source: string }) {
|
||||
|
||||
export async function getServerSideProps(context: any) {
|
||||
const signupSource: string = context.query["source"];
|
||||
|
||||
if (process.env.ALLOW_SIGNUP === "false")
|
||||
if (process.env.ALLOW_SIGNUP !== "true")
|
||||
return {
|
||||
redirect: {
|
||||
destination: "/login",
|
||||
|
||||
Reference in New Issue
Block a user