Remove old import & pass through result

in InteractiveAuthDialog
This commit is contained in:
David Baker 2017-03-03 14:31:52 +00:00
parent 1bdf213d67
commit 62d9439530
2 changed files with 1 additions and 2 deletions

View file

@ -22,7 +22,6 @@ import React from 'react';
import sdk from '../../../index'; import sdk from '../../../index';
import dis from '../../../dispatcher'; import dis from '../../../dispatcher';
import Signup from '../../../Signup';
import ServerConfig from '../../views/login/ServerConfig'; import ServerConfig from '../../views/login/ServerConfig';
import MatrixClientPeg from '../../../MatrixClientPeg'; import MatrixClientPeg from '../../../MatrixClientPeg';
import RegistrationForm from '../../views/login/RegistrationForm'; import RegistrationForm from '../../views/login/RegistrationForm';

View file

@ -60,7 +60,7 @@ export default React.createClass({
_onAuthFinished: function(success, result) { _onAuthFinished: function(success, result) {
if (success) { if (success) {
this.props.onFinished(true); this.props.onFinished(true, result);
} else { } else {
this.setState({ this.setState({
authError: result, authError: result,