phenopolis / phenopolis_genomics_browser

Python API and React frontend for the Phenopolis Genomics Browser
https://dev-live.phenopolis.org
MIT License
31 stars 2 forks source link

Fix time out #294

Closed YuanTian1991 closed 3 years ago

YuanTian1991 commented 3 years ago

Redesigned:

Note that I did not create timout counter, for 2 reasons:

  1. If login expired, any API call would trigger 401 error, then auto logout should be done.
  2. I noticed the expire time would be increased if user keep using the page, for example, initially user have 1 hour, but if he/she keeps sending API, the expire time would be increased accordingly, I guess the backend would re-count 1hour everytime user send API request, or at least is_logged_in request.
netlify[bot] commented 3 years ago

Deploy preview for phenopolis-dev ready!

Built with commit 5594e3fcab1c95eefa940fde07e673d7a16b9a5e

https://deploy-preview-294--phenopolis-dev.netlify.app

netlify[bot] commented 3 years ago

Deploy preview for phenopolis-dev canceled.

Built with commit 5c93351e6018b527f62b61d97917d96cd7208108

https://app.netlify.com/sites/phenopolis-dev/deploys/5fc6ccd3cd5ac5000944ed71