Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
function checkRecoveryKey(result) {
if(address === result[0]){
showIdentity(result, writeAttributes);
resetUrl();
resolveModal();
} else
swal.hideLoading();
}
function updateRecoveryRequestPopup(result) {
swal.hideLoading();
elem('recovery-request').dataset.recovery = result[2];
}
function updateDisclosurePopup(data) {
swal.hideLoading();
elem('disclosure-user').textContent = data.attributes.name;
}