Improve status messages for Librem Key HOTP output

This commit is contained in:
Kyle Rankin 2018-07-03 12:40:52 -07:00
parent acb2b34873
commit fd99d160e8
No known key found for this signature in database
GPG Key ID: 555577116BFA74B9

View File

@ -139,14 +139,14 @@ while true; do
libremkey_hotp_verification check $HOTP
case "$?" in
0 )
HOTP="success"
HOTP="Success"
;;
4 )
HOTP="invalid code"
HOTP="Invalid code"
MAIN_MENU_BG_COLOR=$CONFIG_ERROR_BG_COLOR
;;
* )
HOTP="error checking code"
HOTP="Error checking code, Insert Librem Key and retry"
MAIN_MENU_BG_COLOR=$CONFIG_WARNING_BG_COLOR
;;
esac