mirror of
https://github.com/fosrl/pangolin.git
synced 2026-02-20 03:46:38 +00:00
rename auth and start work separating config
This commit is contained in:
@@ -44,7 +44,6 @@ export default async function InvitePage(props: {
|
||||
await authCookieHeader()
|
||||
)
|
||||
.catch((e) => {
|
||||
console.error(e);
|
||||
error = formatAxiosError(e);
|
||||
});
|
||||
|
||||
@@ -68,8 +67,6 @@ export default async function InvitePage(props: {
|
||||
|
||||
const type = cardType();
|
||||
|
||||
console.log("card type is", type, error)
|
||||
|
||||
if (!user && type === "user_does_not_exist") {
|
||||
redirect(`/auth/signup?redirect=/invite?token=${params.token}`);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user