aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xrofi-pass5
1 files changed, 1 insertions, 4 deletions
diff --git a/rofi-pass b/rofi-pass
index 96e043b..9c395b4 100755
--- a/rofi-pass
+++ b/rofi-pass
@@ -350,13 +350,10 @@ mainMenu () {
while read -r LINE; do
unset _id _val
case "$LINE" in
- "otpauth://"*)
+ "otpauth://"*|"${OTPmethod_field}"*)
_id="OTP"
_val=""
;;
- "${OTPmethod_field}"*)
- # We don't show otp_method as a field that we can type
- ;;
*)
_id="${LINE%%: *}"
_val="${LINE#* }"