DARIAEngineering/dcaf_case_management

Add a nightly cleanup task for incomplete multifactor registrations

lomky opened this issue · 1 comments

lomky commented

Thanks for creating an issue! Please fill out this form so we can be sure to have all the information we need, and to minimize back and forth.

  • What are we trying to do?
    Keep a clean database by removing defunct, incomplete MFA registrations

  • What feature or behavior is this required for?
    Part of finalizing #2003

  • How could we solve this issue? (Not knowing is okay!)
    Add a line to our Nightly Cleanup Task Querying the AuthFactor's that are registration_complete false and old enough to be past becoming validated (an hour old or more, maybe?), and deleting them.

  • Anything else?
    Has to wait for #2819 to be merged!

Taking a look at this one!