1
0
mirror of https://github.com/bitwarden/web synced 2025-12-16 08:13:22 +00:00

data breach report. resolves #53

This commit is contained in:
Kyle Spearrin
2017-05-25 17:41:29 -04:00
parent 0aab548b87
commit 1e3a39defc
10 changed files with 153 additions and 2 deletions

View File

@@ -131,6 +131,10 @@
}
});
_service.hibp = $resource('https://haveibeenpwned.com/api/v2/breachedaccount/:email', {}, {
get: { method: 'GET', params: { email: '@email' }, isArray: true},
});
function transformUrlEncoded(data) {
return $httpParamSerializer(data);
}