mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-25 13:57:47 +00:00
wait for longer
This commit is contained in:
@@ -183,7 +183,7 @@ export function LoginOTP({
|
||||
function setCodeAndContinue(values: Inputs, organization?: string) {
|
||||
return submitCode(values, organization).then(async (response) => {
|
||||
// Wait for 2 seconds to avoid eventual consistency issues with an OTP code being verified in the /login endpoint
|
||||
await new Promise((resolve) => setTimeout(resolve, 2000));
|
||||
await new Promise((resolve) => setTimeout(resolve, 4000));
|
||||
|
||||
if (response) {
|
||||
const url =
|
||||
|
Reference in New Issue
Block a user