mirror of
https://github.com/zitadel/zitadel.git
synced 2025-12-12 20:22:18 +00:00
verify params
This commit is contained in:
@@ -106,7 +106,16 @@ export default function SetPasswordForm({
|
||||
value.password
|
||||
).then(() => {
|
||||
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) => {
|
||||
|
||||
Reference in New Issue
Block a user