amyxzhang / squadbox

Fight harassment with your squad.
https://squadbox.org
MIT License
24 stars 7 forks source link

Adding Email Address Validation When Inviting Squad Moderators #65

Open staciajohanna opened 4 years ago

staciajohanna commented 4 years ago

Currently, any text that's inputted in the form of squad moderators invitation is accepted as email addresses. Preventing random texts to be accepted will be helpful. Should give meaningful error message if the user tries to put themselves as the moderators, or if the email address is not in a valid format.

staciajohanna commented 4 years ago

Will expand this to other forms that use email (e.g. whitelist/blacklist, etc.)