Merge pull request #1849 from Unpublished/adflyTOTP

Support adf.ly TOTP field
This commit is contained in:
Sami Vänttinen 2023-02-16 11:31:13 +02:00 committed by GitHub
commit 88a4acb1e6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;