metakgp / iitkgp-erp-login-pypi

The only python package you will ever need to implement login process in ERP for IIT-KGP
https://pypi.org/project/iitkgp-erp-login/
GNU Affero General Public License v3.0
26 stars 7 forks source link

[Bug] OTP request not triggered for manual entry #24

Closed rohan-b-84 closed 3 months ago

rohan-b-84 commented 3 months ago

Describe the bug Choosing to enter OTP manually does not trigger OTP request. OTP is only requested with Google OAuth enabled. This prevents users who choose to enter OTP manually from receiving the code.

To Reproduce Log in without the use of Google OAuth Credentials

Expected behavior OTP should be requested regardless of chosen OTP retrieval method (manual or Google OAuth).

Screenshots NA

Desktop (please complete the following information): This bug is not specific to a particular desktop environment.

Smartphone (please complete the following information): This bug is not specific to a particular mobile device.

Additional context NA