Consider emails ending in matrix.org as a uni email

For the purposes of testing (and having a team page)
This commit is contained in:
Luke Barnard 2017-02-09 09:29:55 +00:00
parent ad2710ec5d
commit 40658494b4

View file

@ -146,7 +146,7 @@ module.exports = React.createClass({
}, },
_isUniEmail: function(email) { _isUniEmail: function(email) {
return email.endsWith('.ac.uk') || email.endsWith('.edu'); return email.endsWith('.ac.uk') || email.endsWith('.edu') || email.endsWith('matrix.org');
}, },
validateField: function(field_id) { validateField: function(field_id) {