From 62d9439530d0c74fe619b9116d5b02d22404b635 Mon Sep 17 00:00:00 2001 From: David Baker Date: Fri, 3 Mar 2017 14:31:52 +0000 Subject: [PATCH] Remove old import & pass through result in InteractiveAuthDialog --- src/components/structures/login/Registration.js | 1 - src/components/views/dialogs/InteractiveAuthDialog.js | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/components/structures/login/Registration.js b/src/components/structures/login/Registration.js index c25d74f566..92f64eb6ab 100644 --- a/src/components/structures/login/Registration.js +++ b/src/components/structures/login/Registration.js @@ -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'; diff --git a/src/components/views/dialogs/InteractiveAuthDialog.js b/src/components/views/dialogs/InteractiveAuthDialog.js index 068a6cdde2..145b4b6453 100644 --- a/src/components/views/dialogs/InteractiveAuthDialog.js +++ b/src/components/views/dialogs/InteractiveAuthDialog.js @@ -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,