mirror of
https://github.com/SchildiChat/element-web.git
synced 2024-10-01 01:26:12 -04:00
Dispatch password_changed when SetPasswordDialog finished
This commit is contained in:
parent
e367fb5a98
commit
48856c31f8
@ -25,7 +25,10 @@ export default React.createClass({
|
||||
const SetPasswordDialog = sdk.getComponent('dialogs.SetPasswordDialog');
|
||||
Modal.createDialog(SetPasswordDialog, {
|
||||
onFinished: () => {
|
||||
//TODO: Notify SessionStore of changed password: dispatch password_changed
|
||||
// Notify SessionStore that the user's password was changed
|
||||
dis.dispatch({
|
||||
action: 'password_changed',
|
||||
});
|
||||
}
|
||||
});
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user