CarletonComputerScienceSociety / core

The core application behind our online services and events

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Validate Submission Email

MathyouMB opened this issue · comments

Add validation that ensures the email on the submission is a Carleton email. Ex: firstnamelastname@cmail.carleton.ca

I believe there are two formats for Carleton emails, I'm not sure what the second format is. It might be good to implement this as two different regex expressions the model validation tries.

Please also add a validation test that ensures invalid emails can't be used.