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]: session_valid() is broken #19

Closed proffapt closed 9 months ago

proffapt commented 10 months ago

To Reproduce Steps to reproduce the behavior:

  1. Use open_erp.py
  2. Logout ERP from browser
  3. Use open_erp.py again
  4. See error

Expected behavior Either say it is valid or say it is not, and if it is something new then handle this case

Screenshots image

Additional Context Even if the session_valid() returns True in this case, the page says "The session is idle for too long time, re-login".

proffapt commented 10 months ago

@shikharish reply so that I can assign it to you.

shikharish commented 10 months ago

I will work on this.

proffapt commented 9 months ago

resolved in https://github.com/proffapt/iitkgp-erp-login-pypi/releases/tag/v2.3.3