1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-10 09:22:25 +03:00

Merge pull request #681 from matrix-org/luke/rts-matrix-org

Consider emails ending in matrix.org as a uni email
This commit is contained in:
Luke Barnard
2017-02-09 10:34:02 +00:00
committed by GitHub

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) {