feat(infisical-pg): auth injection completed and validation in password router

This commit is contained in:
Akhil Mohan
2024-01-27 12:38:22 +05:30
parent fcfd6b3fb2
commit f3b37de3f3
196 changed files with 1871 additions and 624 deletions
+2 -2
View File
@@ -54,7 +54,7 @@ export default function SignupInvite() {
const router = useRouter();
const parsedUrl = queryString.parse(router.asPath.split("?")[1]);
const token = parsedUrl.token as string;
const organizationId = parsedUrl.organization_id as string;
const organizationId = parsedUrl.organizationid as string;
const email = (parsedUrl.to as string)?.replace(" ", "+").trim();
// Verifies if the information that the users entered (name, workspace) is there, and if the password matched the criteria.
@@ -161,7 +161,7 @@ export default function SignupInvite() {
const userOrgs = await fetchOrganizations();
const orgId = userOrgs[0]._id;
const orgId = userOrgs[0].id;
localStorage.setItem("orgData.id", orgId);
setStep(3);