Start of registration support.
This commit is contained in:
parent
98baa0cb0a
commit
a7e4a2847e
7 changed files with 267 additions and 4 deletions
|
@ -23,6 +23,7 @@ var RoomList = ComponentBroker.get('organisms/RoomList');
|
|||
var RoomView = ComponentBroker.get('organisms/RoomView');
|
||||
var MatrixToolbar = ComponentBroker.get('molecules/MatrixToolbar');
|
||||
var Login = ComponentBroker.get('templates/Login');
|
||||
var Register = ComponentBroker.get('templates/Register');
|
||||
|
||||
var MatrixChatController = require("../../../../src/controllers/pages/MatrixChat");
|
||||
|
||||
|
@ -51,6 +52,10 @@ module.exports = React.createClass({
|
|||
return (
|
||||
<Loader />
|
||||
);
|
||||
} else if (this.state.screen == 'register') {
|
||||
return (
|
||||
<Register onLoggedIn={this.onLoggedIn} />
|
||||
);
|
||||
} else {
|
||||
return (
|
||||
<Login onLoggedIn={this.onLoggedIn} />
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue