You've already forked matrix-react-sdk
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:
@ -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;
|
||||
|
Reference in New Issue
Block a user