1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-07-24 06:02:08 +03:00

Ask for email address after setting password for the first time

So that the user can reset their password.
This commit is contained in:
Luke Barnard
2017-06-14 09:31:16 +01:00
parent 31b3b4687a
commit 4344af58ee
3 changed files with 193 additions and 3 deletions

View File

@ -64,7 +64,6 @@ const AsyncWrapper = React.createClass({
render: function() {
const {loader, ...otherProps} = this.props;
if (this.state.component) {
const Component = this.state.component;
return <Component {...otherProps} />;
@ -199,4 +198,7 @@ class ModalManager {
}
}
export default new ModalManager();
if (!global.singletonModalManager) {
global.singletonModalManager = new ModalManager();
}
export default global.singletonModalManager;