mirror of
https://github.com/zitadel/zitadel.git
synced 2025-12-13 18:32:10 +00:00
verify params
This commit is contained in:
@@ -106,7 +106,16 @@ export default function SetPasswordForm({
|
|||||||
value.password
|
value.password
|
||||||
).then(() => {
|
).then(() => {
|
||||||
setLoading(false);
|
setLoading(false);
|
||||||
return router.push(`/verify?userID=${humanResponse.userId}`);
|
const params: any = { userID: humanResponse.userId };
|
||||||
|
|
||||||
|
if (authRequestId) {
|
||||||
|
params.authRequestId = authRequestId;
|
||||||
|
}
|
||||||
|
if (organization) {
|
||||||
|
params.organization = organization;
|
||||||
|
}
|
||||||
|
|
||||||
|
return router.push(`/verify?` + new URLSearchParams(params));
|
||||||
});
|
});
|
||||||
})
|
})
|
||||||
.catch((errorDetails: Error) => {
|
.catch((errorDetails: Error) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user