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

登出功能还没有实现 #3

Open
zhoujunhe opened this issue Dec 11, 2020 · 3 comments
Open

登出功能还没有实现 #3

zhoujunhe opened this issue Dec 11, 2020 · 3 comments
Labels
enhancement New feature or request

Comments

@zhoujunhe
Copy link

大佬,登出功能能不能实现,把登出功能给实现了可以吗?

@amazing-gao
Copy link
Owner

YAPI本身不是已有登出功能了吗?

@zhoujunhe
Copy link
Author

登出需要调用 auth2的登出方法的,yapi的登出没有调用auth2的登出方法。

@amazing-gao
Copy link
Owner

明白你的意思了,看了下只有前端的 logout hook,后端无(官方Hooks)。
应该需要通过前端的 hook 分别调用 yapi 的 logout 和 auth2的 logout 实现了。
我最近比较忙,重心不在这里,需要等闲下来搞下,欢迎提交 PR 啊👏🏻👏🏻👏🏻

@amazing-gao amazing-gao added the enhancement New feature or request label Apr 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants