mirror of https://github.com/vector-im/riot-web
parent
1bdf213d67
commit
62d9439530
|
@ -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 New Issue