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 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';
|
||||||
|
|
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue