mirror of https://github.com/vector-im/riot-web
Merge pull request #681 from matrix-org/luke/rts-matrix-org
Consider emails ending in matrix.org as a uni emailpull/21833/head
commit
dd22e57a38
src/components/views/login
|
@ -146,7 +146,7 @@ module.exports = React.createClass({
|
|||
},
|
||||
|
||||
_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) {
|
||||
|
|
Loading…
Reference in New Issue