mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-16 06:45:28 +00:00
Patch organization invitation emails expiring for existing users and billing logic affected by missing organization populate call
This commit is contained in:
@@ -51,6 +51,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 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.
|
||||
@@ -190,7 +191,8 @@ export default function SignupInvite() {
|
||||
onButtonPressed={async () => {
|
||||
const response = await verifySignupInvite({
|
||||
email,
|
||||
code: token
|
||||
code: token,
|
||||
organizationId
|
||||
});
|
||||
if (response.status === 200) {
|
||||
const res = await response.json();
|
||||
|
||||
Reference in New Issue
Block a user