infiniflow / ragflow

RAGFlow is an open-source RAG (Retrieval-Augmented Generation) engine based on deep document understanding.
https://ragflow.io
Apache License 2.0
23.78k stars 2.33k forks source link

[Feature Request]: logout when somebody closes or unloads the web tab #3172

Open Rama-19 opened 3 weeks ago

Rama-19 commented 3 weeks ago

Is there an existing issue for the same feature request?

Is your feature request related to a problem?

No response

Describe the feature you'd like

logout when somebody closes or unloads the web tab

Describe implementation you've considered

No response

Documentation, adoption, use case

No response

Additional information

No response

Rama-19 commented 3 weeks ago

switch loacalStorage in the utils/authorization-util.ts to sessionStorage

cike8899 commented 3 weeks ago

The current login status is determined by the backend. The backend returns 401 to log out.