mirror of
https://github.com/fosrl/pangolin.git
synced 2025-08-03 01:24:58 +02:00
update readme
This commit is contained in:
parent
176813a9a0
commit
b67cd47141
2 changed files with 4 additions and 5 deletions
|
@ -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.
|
||||
|
|
|
@ -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("/");
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue