Get team_token from the RTS on login
Use the /login endpoint of the RTS to get the team token when the user has successfully logged in.
This commit is contained in:
parent
68f644c824
commit
173e80a5de
3 changed files with 28 additions and 0 deletions
|
@ -210,6 +210,8 @@ module.exports = React.createClass({
|
|||
window.addEventListener('resize', this.handleResize);
|
||||
this.handleResize();
|
||||
|
||||
Lifecycle.initRtsClient(this.props.config.teamServerConfig.teamServerURL);
|
||||
|
||||
// the extra q() ensures that synchronous exceptions hit the same codepath as
|
||||
// asynchronous ones.
|
||||
q().then(() => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue