Closed Flexla54 closed 1 year ago
I agree with the premise (and the first point), however I do not know if it makes sense to store pending registrations in redis (as this would cause development overhead because of the change in paradigms).
It might just be easier to just check weather the verified
boolean is set to true on the team
Won't the data corpses in the database be a problem?
Won't the data corpses in the database be a problem?
I don't see a specific reason why they would be? There should of course be some logic that deletes them after some time, but other than that...
Do you see any other problems?
Ok thats fine by me!
I thought that redis is already used for pending teamleader authentication, so I thought it would be efficient to combine them.
So i basically implemented it.
However i want to note that the _deleteUnverifiedTeams
function should be used when the sign in phase ends.
It's hard to interpret registrations as failed or real. I'm convinced that
would make the life of the registration validators just easier.
I know that it might be a bit late for this, however this site is planned to run for other events too.