QuantEcon / Bookshelf

Code for the site QuantEconLib
1 stars 0 forks source link

Email validation - invite modal #205

Closed AtlasMaxima-zz closed 6 years ago

AtlasMaxima-zz commented 6 years ago

This PR checks if the entered email is valid using email-validator which checks for basic syntax that email addresses need to adhere by.

Previous bug Invite email successful appears even with errors #204 has been fixed in this PR.

If email is valid according to syntax correction, then it will display success green notification bar under header, if it is not valid, input box will appear to be red letting users to enter a valid email address.

Note: As of now, it does not check for email authenticity or if an email exists from MX records.