fix delete account button

This commit is contained in:
Athou
2013-05-25 13:18:10 +02:00
parent fdd845ca1e
commit a8080c6bba

View File

@@ -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';
}
});