Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请求为alist带来真正的登出 #6792

Closed
4 tasks done
Luminet2023 opened this issue Jul 15, 2024 · 5 comments · Fixed by #6923
Closed
4 tasks done

请求为alist带来真正的登出 #6792

Luminet2023 opened this issue Jul 15, 2024 · 5 comments · Fixed by #6923
Assignees
Labels
accepted enhancement New feature or request

Comments

@Luminet2023
Copy link

Please make sure of the following things

  • I have read the documentation.
  • I'm sure there are no duplicate issues or discussions.
  • I'm sure this feature is not implemented.
  • I'm sure it's a reasonable and popular requirement.

Description of the feature / 需求描述

如题,alist当前的登出按钮仅仅是清除了前端的Authorization,而未将要登出的TOKEN进行销毁

Suggested solution / 实现思路

增加一个loginout接口,后端将登出的TOKEN标记为过期

Additional context / 附件

No response

@Luminet2023 Luminet2023 added the enhancement New feature or request label Jul 15, 2024
Copy link

welcome bot commented Jul 15, 2024

Thanks for opening your first issue here! Be sure to follow the issue template!

@woshichenghaibo
Copy link

如果不动,会有什么坏处吗?

@jianboy
Copy link

jianboy commented Jul 25, 2024

我看到有相应的接口的:

	Logout           = MainApi + "/user/logout"

@Luminet2023
Copy link
Author

我看到有相应的接口的:

	Logout           = MainApi + "/user/logout"

你指的是drivers/123/util.go吗,这是存储驱动的logout,而不是Alist WebAPI的登出

@Luminet2023
Copy link
Author

目前在server/router.go上没有logout的接口

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accepted enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants