Delete expired SMS codes from database #160
Labels
area:backend
Related to the server component
prio:C
Nice to have, but optional
type:enhancement
New feature or request
Milestone
This is a follow-up to #122. The
number_verification_requests
table does not automatically remove entries withexpired_at
in the past. This could probably be done by a background task every hour or so.However, we also wanted to have the feature “if someone repeatedly requests SMS but doesn’t enter the codes then, block this person”. This should probably also take already-expired requests into account.
Make sure to also have a look at the implementation in
get_new_sms_auth_code
to ensure it matches the design.The text was updated successfully, but these errors were encountered: