forked from Archives/Athou_commafeed
fix delete account button
This commit is contained in:
@@ -950,7 +950,7 @@ function($scope, $location, $dialog, ProfileService, AnalyticsService) {
|
|||||||
|
|
||||||
$dialog.messageBox(title, msg, btns).open().then(function(result) {
|
$dialog.messageBox(title, msg, btns).open().then(function(result) {
|
||||||
if (result == 'ok') {
|
if (result == 'ok') {
|
||||||
ProfileService.deleteAccount();
|
ProfileService.deleteAccount({});
|
||||||
window.location.href = 'logout';
|
window.location.href = 'logout';
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user