feat(identity): confirm the email address with a six-digit code from the message

This commit is contained in:
shira committed 2026-10-10 00:52:46 +03:00
1 parent c94434cd09
commit d365a05c96
87 files changed
+4764 -224

No files matched your search

@@ -185,6 +185,15 @@ func TestIdentityOperationsBeforeImplementation(t *testing.T) {
statusCode: http.StatusNotImplemented,
code: api.ProblemCodeNotImplemented,
},
{
name: "public email confirmation by code",
request: identityRequest{
method: http.MethodPost, path: "/api/v1/identity/email-verifications/code",
body: `{"email":"candidate@example.com","code":"482915","password":"correct horse battery staple"}`,
},
statusCode: http.StatusNotImplemented,
code: api.ProblemCodeNotImplemented,
},
{
name: "public login",
request: identityRequest{