diff --git a/src/main/webapp/js/controllers.js b/src/main/webapp/js/controllers.js index b906c7c0..ce16fdb5 100644 --- a/src/main/webapp/js/controllers.js +++ b/src/main/webapp/js/controllers.js @@ -950,7 +950,7 @@ function($scope, $location, $dialog, ProfileService, AnalyticsService) { $dialog.messageBox(title, msg, btns).open().then(function(result) { if (result == 'ok') { - ProfileService.deleteAccount(); + ProfileService.deleteAccount({}); window.location.href = 'logout'; } });