feat(identity): enforce shared session and browser request security
This commit is contained in:
1 parent
7df521bd89
commit
86f562f5b6
23 files changed
+430
-121
No files matched your search
@@ -493,6 +493,9 @@ func (harness *registrationHarness) confirm(t *testing.T, token, password string
|
||||
if err != nil {
|
||||
t.Fatalf("encode confirmation request: %v", err)
|
||||
}
|
||||
if origin == nil {
|
||||
return harness.postWithoutDefaultOrigin(t, emailVerificationPath, string(body), headers)
|
||||
}
|
||||
return harness.post(t, emailVerificationPath, string(body), headers)
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user