added a "password reset email has been sent" screen

This commit is contained in:
or-else
2021-08-20 20:50:08 -07:00
parent c522b90150
commit 9508797ab9
3 changed files with 110 additions and 399 deletions
+1 -1
View File
@@ -1512,7 +1512,7 @@ class TinodeWeb extends React.Component {
handlePasswordResetRequest(method, value) {
// If already connected, connnect() will return a resolved promise.
this.tinode.connect()
return this.tinode.connect()
.then(() => {
return this.tinode.requestResetAuthSecret('basic', method, value);
})