mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
Pull sessions after revoking one (#6436)
This commit is contained in:
committed by
Harrison Healey
parent
577ed27f1b
commit
2a146766f0
@@ -52,7 +52,9 @@ export default class ActivityLogModal extends React.Component {
|
||||
setTimeout(() => {
|
||||
modalContent.removeClass('animation--highlight');
|
||||
}, 1500);
|
||||
this.props.actions.revokeSession(UserStore.getCurrentId(), altId);
|
||||
this.props.actions.revokeSession(UserStore.getCurrentId(), altId).then(() => {
|
||||
this.props.actions.getSessions(UserStore.getCurrentId());
|
||||
});
|
||||
}
|
||||
|
||||
onShow() {
|
||||
|
||||
Reference in New Issue
Block a user