Merge pull request #912 from keepassxreboot/fix/164_final_cleaning

Final cleaning for 1.6.4
This commit is contained in:
Sami Vänttinen 2020-06-15 22:17:03 +03:00 committed by GitHub
commit d518662696
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 2 deletions

View file

@ -79,6 +79,7 @@
"browser": true,
"browserAction": true,
"createStylesheet": true,
"DatabaseState": true,
"httpAuth": true,
"Icon": true,
"isEdge": true,

View file

@ -66,7 +66,7 @@ httpAuth.processPendingCallbacks = async function(details, resolve, reject) {
// Non-HTTP proxies are possible with PAC scripts, while currently only
// Firefox provides info about the proxy protocol used [1].
// [1] https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/webRequest/onAuthRequired
let scheme = details.proxyInfo ? details.proxyInfo.type : 'http';
const scheme = details.proxyInfo ? details.proxyInfo.type : 'http';
details.proxyUrl = scheme + '://' + details.challenger.host;
}

View file

@ -10,7 +10,7 @@ const DatabaseState = {
DISCONNECTED: 0,
LOCKED: 1,
UNLOCKED: 2
}
};
const acceptedOTPFields = [
'2fa',