Register a s a guest even if email invite: this is ok now.

pull/21833/head
David Baker 2016-02-23 18:30:35 +00:00
parent e2bafcbf02
commit 3f51cda846
1 changed files with 0 additions and 4 deletions

View File

@ -95,10 +95,6 @@ module.exports = React.createClass({
if (!this.props.config || !this.props.config.default_hs_url) {
console.error("Cannot enable guest access: No supplied config prop for HS/IS URLs");
}
else if (this.props.startingQueryParams.email) {
console.log("Not registering as guest; email invite.");
this._autoRegisterAsGuest = false;
}
else if (this.props.startingQueryParams.client_secret && this.props.startingQueryParams.sid) {
console.log("Not registering as guest; registration.");
this._autoRegisterAsGuest = false;