This repository was archived by the owner on Feb 25, 2024. It is now read-only.

Description
Is your feature request related to a problem? Please describe.
I'm using this plugin in a django web application and I need to add a login using web form. 2FA login currently only works with user's input, I would like to add a parameter support for it just like with username and password parameters. If the key will not be provided, it will use input to ask for the key.
Describe the solution you'd like
Add support for 2FA key in Bot's init function with default value None and use it in the 2FA challange.
Describe alternatives you've considered
Customization of the login process in the fork without a compatibility with this repository.
Additional context
None