rename auth and start work separating config

This commit is contained in:
Milo Schwartz
2025-01-01 16:40:01 -05:00
parent d447de9e8a
commit b199595100
15 changed files with 153 additions and 120 deletions

View File

@@ -398,7 +398,7 @@ export default function ResourceAuthenticationPage() {
onCheckedChange={(val) => setSsoEnabled(val)}
/>
<Label htmlFor="sso-toggle">
Allow Unified Login
Use Platform SSO
</Label>
</div>
<span className="text-muted-foreground text-sm">

View File

@@ -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}`);
}