diff options
Diffstat (limited to 'webapp/actions/user_actions.jsx')
-rw-r--r-- | webapp/actions/user_actions.jsx | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/webapp/actions/user_actions.jsx b/webapp/actions/user_actions.jsx index f6c9e0f60..eacb0df80 100644 --- a/webapp/actions/user_actions.jsx +++ b/webapp/actions/user_actions.jsx @@ -629,10 +629,7 @@ export function checkMfa(loginId, success, error) { export function updateActive(userId, active, success, error) { Client.updateActive(userId, active, (data) => { - AppDispatcher.handleServerAction({ - type: ActionTypes.RECEIVED_PROFILE, - profile: data - }); + UserStore.saveProfile(data); if (success) { success(data); |