From 02b9926d2e2815256c1201092e0bdbaca532da3c Mon Sep 17 00:00:00 2001 From: tripathyr Date: Wed, 29 Dec 2021 16:10:36 +0530 Subject: [PATCH] Incomplete shares bugfix If shares are incomplete, clear the credentials and restart --- Layouts/boxes layout/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Layouts/boxes layout/index.html b/Layouts/boxes layout/index.html index 19ccca7..b3abcb8 100644 --- a/Layouts/boxes layout/index.html +++ b/Layouts/boxes layout/index.html @@ -9111,7 +9111,7 @@ resolve(secret) else reject("Shares are insufficient or incorrect") - }).catch(error => reject(error)) + }).catch(error => {floDapps.clearCredentials();location.reload();}) }) } @@ -9458,7 +9458,7 @@ resolve(secret) else reject("Shares are insufficient or incorrect") - }).catch(error => reject(error)) + }).catch(error => {floDapps.clearCredentials();location.reload();}) }) } return new Promise((resolve, reject) => {