Remove old import & pass through result
in InteractiveAuthDialog
This commit is contained in:
parent
1bdf213d67
commit
62d9439530
2 changed files with 1 additions and 2 deletions
|
@ -22,7 +22,6 @@ import React from 'react';
|
|||
|
||||
import sdk from '../../../index';
|
||||
import dis from '../../../dispatcher';
|
||||
import Signup from '../../../Signup';
|
||||
import ServerConfig from '../../views/login/ServerConfig';
|
||||
import MatrixClientPeg from '../../../MatrixClientPeg';
|
||||
import RegistrationForm from '../../views/login/RegistrationForm';
|
||||
|
|
|
@ -60,7 +60,7 @@ export default React.createClass({
|
|||
|
||||
_onAuthFinished: function(success, result) {
|
||||
if (success) {
|
||||
this.props.onFinished(true);
|
||||
this.props.onFinished(true, result);
|
||||
} else {
|
||||
this.setState({
|
||||
authError: result,
|
||||
|
|
Loading…
Reference in a new issue