diff options
author | Moviuro <moviuro+git@gmail.com> | 2017-12-05 20:20:15 +0100 |
---|---|---|
committer | Moviuro <moviuro+git@gmail.com> | 2017-12-05 20:20:15 +0100 |
commit | 9b3cafc678dce43558d57ebe7164e6e330e9e0ee (patch) | |
tree | 5fcd772b4f3c998b07b4ff56db66a0038bf06531 | |
parent | c7d4c16b0dca2c611a9951fd462529f650d99885 (diff) | |
download | rofi-pass-9b3cafc678dce43558d57ebe7164e6e330e9e0ee.tar.gz |
rofi-pass: the "OTP" field will appear in rofi when applicable
* when there is an otpauth:// line
* when there is an otp_method: line
-rwxr-xr-x | rofi-pass | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -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#* }" |