FSU-ACM/Contest-Server

Emails and FSUIDs are still not case normalized

Closed this issue · 2 comments

This is letting "duplicate" emails register, e.g. "abc12a@my.fsu.edu" and "Abc12a@my.fsu.edu"

Likewise, fsuids are not normalized, "as12x" and "As12x" are regarded as different.

Perhaps the right way to fix this would be to customize the WTForm email and FSUID fields to convert things to lowercase automatically. Good reference here: http://wtforms.readthedocs.io/en/latest/fields.html#custom-fields