-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"unable to ask for SMS password" when tty is missing #82
Comments
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
As summary:
$ ./mbank-cli activate-profile business
$
as report from STDERR. |
I've added |
There's a sanity check that prevents logging in if stdin is not a tty. Delete this line a temporary work-around: Line 1391 in f3971e0
|
thanks, I changed it and wait for next try. |
I looks like helped! |
With the advent of mobile app 2FA and trusted device registration, users might want to let mbank-cli log in when there's no tty available (which would be otherwise needed to enter the SMS password). #82
Fixed in 5f2a8bf. I'll make a new bug-fix release later today. |
pulled before the moment from master and now it's testing. Thanks! |
Fixed in mbank-cli 2.2.1. |
I've configured mbank-cli to use mobile app authorization and registered its instance using:
When I launch mbank-cli manually it does its job as it should, but when it is launched from cronie I've got following output:
Quite strange, because I don't event use sms password for authorization! What's going on?
The text was updated successfully, but these errors were encountered: