Hey folks, does `ory.createBrowserRegistrationFlow...
# talk-kratos
c
Hey folks, does
ory.createBrowserRegistrationFlow
https://github.com/ory/elements/blob/466c85f4920a506e9358a742a90dbdc66fe77ba4/examples/nextjs-spa/src/pages/registration.tsx#L55 create a record in the database? If so, do I need to worry about filling up the database with useless registration flows? Is that a concern at all? How does it work?
f
There are ways to remove expired data from database: https://github.com/ory/kratos/pull/2406
I guess no documentation for that, but here is the starting point: https://github.com/ory/kratos/blob/1064b3296faccf66301d412bf0f7c3d6da09c8ef/cmd/cleanup/sql.go
c
Hah thank you 😊