Add environment variable to enable team creation for new users in self-hosted deployments (#74)
This commit is contained in:
19
apps/web/src/components/team/TeamCreationDisabled.tsx
Normal file
19
apps/web/src/components/team/TeamCreationDisabled.tsx
Normal file
@@ -0,0 +1,19 @@
|
||||
"use client";
|
||||
|
||||
export default function TeamCreationDisabled() {
|
||||
|
||||
return (
|
||||
<div className="flex items-center justify-center min-h-screen ">
|
||||
<div className=" w-[300px] flex flex-col gap-8">
|
||||
<div>
|
||||
<h1 className="text-2xl font-semibold text-center">Cannot sign up</h1>
|
||||
</div>
|
||||
<div>
|
||||
<p className="text-center">
|
||||
Team creation is disabled. Please contact your administrator.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
}
|
Reference in New Issue
Block a user