From 1e4bcdadcc3db2a21ee3d99004021b5da448c3af Mon Sep 17 00:00:00 2001 From: Unpublished Date: Tue, 14 Feb 2023 11:51:58 +0100 Subject: [PATCH] Support adf.ly TOTP field --- keepassxc-browser/common/sites.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/keepassxc-browser/common/sites.js b/keepassxc-browser/common/sites.js index 96f65c7..d9ca047 100644 --- a/keepassxc-browser/common/sites.js +++ b/keepassxc-browser/common/sites.js @@ -164,6 +164,9 @@ kpxcSites.expectedTOTPMaxLength = function() { if (document.location.origin.startsWith('https://www.amazon') && document.location.href.includes('/ap/mfa')) { return 20; + } else if (document.location.origin.startsWith('https://adf.ly') + && document.location.href.includes('/index/twoFactorAuthentication')) { + return 30; } return MAX_TOTP_INPUT_LENGTH;