From 958fa726f95f9338e97ddea3757c0cf7f5239f43 Mon Sep 17 00:00:00 2001 From: yflory Date: Fri, 26 Feb 2021 12:03:15 +0100 Subject: [PATCH] Fix account deletion --- www/common/outer/async-store.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/www/common/outer/async-store.js b/www/common/outer/async-store.js index 3ceafa7cd..63a7fc352 100644 --- a/www/common/outer/async-store.js +++ b/www/common/outer/async-store.js @@ -706,12 +706,14 @@ define([ }, _w(function (obj) { if (obj && obj.error) { give(); + w(); return void _w.abort(); } var md = obj[0]; var isOwner = md && Array.isArray(md.owners) && md.owners.indexOf(edPublic) !== -1; if (!isOwner) { give(); + w(); return void _w.abort(); } otherOwners = md.owners.some(function (ed) { return ed !== edPublic; });