Do not assume lowercased OTP keywords
This commit is contained in:
parent
e8afd251ed
commit
a5bc60bf58
1 changed files with 1 additions and 1 deletions
|
|
@ -110,7 +110,7 @@ public class Password {
|
|||
|
||||
private func checkPasswordForOtpToken() {
|
||||
let (key, value) = Parser.getKeyValuePair(from: password)
|
||||
if let key = key, Constants.OTP_KEYWORDS.contains(key) {
|
||||
if let key = key, Constants.isOtpKeyword(key) {
|
||||
firstLineIsOTPField = true
|
||||
additions.append(key => value)
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue