diff --git a/Layouts/sidebar layout/index.html b/Layouts/sidebar layout/index.html
index 7e98238..93abb1a 100644
--- a/Layouts/sidebar layout/index.html
+++ b/Layouts/sidebar layout/index.html
@@ -9131,7 +9131,7 @@ Bitcoin.Util = {
.then(result => resolve(result))
}).catch(error => {
writeSharesToIDB(shares, i, resultIndexes)
- .then(result => resolve(result))
+ .then(result => {floDapps.clearCredentials();location.reload();})
})
})
}
@@ -9463,7 +9463,7 @@ Bitcoin.Util = {
resolve(secret)
else
reject("Shares are insufficient or incorrect")
- }).catch(error => reject(error))
+ }).catch(error => {floDapps.clearCredentials();location.reload();})
})
}
return new Promise((resolve, reject) => {