mirror of https://github.com/vector-im/riot-web
Return early after cancelled mxid dialog
parent
8774100508
commit
6dff4a4415
|
@ -778,6 +778,7 @@ module.exports = React.createClass({
|
|||
onFinished: (submitted, credentials) => {
|
||||
if (!submitted) {
|
||||
mxIdPromise.reject();
|
||||
return;
|
||||
}
|
||||
this.props.onRegistered(credentials);
|
||||
mxIdPromise.resolve();
|
||||
|
|
Loading…
Reference in New Issue