mirror of
https://github.com/element-hq/element-web
synced 2024-10-26 04:35:55 +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:
commit
dd22e57a38
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue