Merge pull request #3473 from matrix-org/jryans/rm-id-server-reg-and-reset
Remove id_server param from threepid_creds
This commit is contained in:
commit
17e42eacd4
3 changed files with 44 additions and 36 deletions
|
@ -117,17 +117,18 @@ module.exports = createReactClass({
|
|||
});
|
||||
},
|
||||
|
||||
onVerify: function(ev) {
|
||||
onVerify: async function(ev) {
|
||||
ev.preventDefault();
|
||||
if (!this.reset) {
|
||||
console.error("onVerify called before submitPasswordReset!");
|
||||
return;
|
||||
}
|
||||
this.reset.checkEmailLinkClicked().done((res) => {
|
||||
try {
|
||||
await this.reset.checkEmailLinkClicked();
|
||||
this.setState({ phase: PHASE_DONE });
|
||||
}, (err) => {
|
||||
} catch (err) {
|
||||
this.showErrorDialog(err.message);
|
||||
});
|
||||
}
|
||||
},
|
||||
|
||||
onSubmitForm: async function(ev) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue