mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-14 06:29:37 +00:00
feat(infisical-pg): auth injection completed and validation in password router
This commit is contained in:
@@ -47,7 +47,7 @@ export default function SignUp() {
|
||||
const tryAuth = async () => {
|
||||
try {
|
||||
const userOrgs = await fetchOrganizations();
|
||||
router.push(`/org/${userOrgs[0]._id}/overview`);
|
||||
router.push(`/org/${userOrgs[0].id}/overview`);
|
||||
} catch (error) {
|
||||
console.log("Error - Not logged in yet");
|
||||
}
|
||||
@@ -90,7 +90,7 @@ export default function SignUp() {
|
||||
|
||||
if (!serverDetails?.emailConfigured && step === 5) {
|
||||
const userOrgs = await fetchOrganizations();
|
||||
router.push(`/org/${userOrgs[0]._id}/overview`);
|
||||
router.push(`/org/${userOrgs[0].id}/overview`);
|
||||
}
|
||||
})();
|
||||
}, [step]);
|
||||
|
||||
Reference in New Issue
Block a user