ragflow icon indicating copy to clipboard operation
ragflow copied to clipboard

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

Open Rama-19 opened this issue 1 year ago • 2 comments

Is there an existing issue for the same feature request?

  • [X] I have checked the existing issues.

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 avatar Nov 04 '24 03:11 Rama-19

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

Rama-19 avatar Nov 04 '24 08:11 Rama-19

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

cike8899 avatar Nov 05 '24 02:11 cike8899