Bump up period and skew to prevent timeouts (#17804)
Give the default SetupLoginMFATOTP helper a more robust period/skew. 403 failures on test-go-race are likely due to TOTP code timeouts being too aggressive.
This commit is contained in:
parent
ffa4825693
commit
404422dba1
|
@ -954,10 +954,10 @@ func SetupLoginMFATOTP(t testing.T, client *api.Client) (*api.Client, string, st
|
|||
// Configure a default TOTP method
|
||||
totpConfig := map[string]interface{}{
|
||||
"issuer": "yCorp",
|
||||
"period": 5,
|
||||
"period": 20,
|
||||
"algorithm": "SHA256",
|
||||
"digits": 6,
|
||||
"skew": 0,
|
||||
"skew": 1,
|
||||
"key_size": 20,
|
||||
"qr_size": 200,
|
||||
"max_validation_attempts": 5,
|
||||
|
|
Loading…
Reference in New Issue