Update HIBP to v3, requires paid API key, fixes #583

This commit is contained in:
Daniel García
2019-08-20 20:07:12 +02:00
parent d8ea3d2bfe
commit 515b87755a
4 changed files with 37 additions and 13 deletions

View File

@@ -234,6 +234,9 @@ make_config! {
/// Enable web vault
web_vault_enabled: bool, false, def, true;
/// HIBP Api Key |> HaveIBeenPwned API Key, request it here: https://haveibeenpwned.com/API/Key
hibp_api_key: String, false, option;
/// Disable icon downloads |> Set to true to disable icon downloading, this would still serve icons from
/// $ICON_CACHE_FOLDER, but it won't produce any external network request. Needs to set $ICON_CACHE_TTL to 0,
/// otherwise it will delete them and they won't be downloaded again.