You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-11 20:22:36 +03:00
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:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user