update readme

This commit is contained in:
Milo Schwartz 2025-01-04 20:59:59 -05:00
parent 176813a9a0
commit b67cd47141
No known key found for this signature in database
2 changed files with 4 additions and 5 deletions

View file

@ -1,7 +1,3 @@
<p align="center">
<img src="public/logo/pangolin_orange.svg" alt="Pangolin" style="margin: 10px 0; width: 200px;">
</p>
# Pangolin
Pangolin is a self-hosted tunneled reverse proxy management server with identity and access management, designed to securely expose private resources through use with the Traefik reverse proxy and WireGuard tunnel clients like Newt. With Pangolin, you retain full control over your infrastructure while providing a user-friendly and feature-rich solution for managing proxies, authentication, and access, and simplifying complex network setups, all with a clean and simple UI.

View file

@ -1,5 +1,6 @@
import SignupForm from "@app/app/auth/signup/SignupForm";
import { verifySession } from "@app/lib/auth/verifySession";
import { pullEnv } from "@app/lib/pullEnv";
import { Mail } from "lucide-react";
import Link from "next/link";
import { redirect } from "next/navigation";
@ -14,9 +15,11 @@ export default async function Page(props: {
const getUser = cache(verifySession);
const user = await getUser();
const env = pullEnv();
const isInvite = searchParams?.redirect?.includes("/invite");
if (process.env.DISABLE_SIGNUP_WITHOUT_INVITE === "true" && !isInvite) {
if (env.flags.disableSignupWithoutInvite && !isInvite) {
redirect("/");
}