Refresh the user profile on 2fa status change
This commit is contained in:
@@ -65,6 +65,8 @@ angular.module('Application').controller('AccountController', ['$scope', 'Client
|
||||
return;
|
||||
}
|
||||
|
||||
Client.refreshUserInfo();
|
||||
|
||||
$('#twoFactorAuthenticationEnableModal').modal('hide');
|
||||
});
|
||||
},
|
||||
@@ -85,6 +87,8 @@ angular.module('Application').controller('AccountController', ['$scope', 'Client
|
||||
return;
|
||||
}
|
||||
|
||||
Client.refreshUserInfo();
|
||||
|
||||
$('#twoFactorAuthenticationDisableModal').modal('hide');
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user