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

希望增加同一账号多处登录自动下线功能 #89

Open
GlacierSling opened this issue Jul 15, 2024 · 3 comments
Open

希望增加同一账号多处登录自动下线功能 #89

GlacierSling opened this issue Jul 15, 2024 · 3 comments

Comments

@GlacierSling
Copy link

同一账号多处登录,最先登录的token失效实现自动下线功能,保持同一账号不能多处登录,此功能应做到config中配置为可选功能。

@yesdadou
Copy link

是指可配置同一账号的同时在线数量吧?

@share36
Copy link
Contributor

share36 commented Jul 29, 2024

说的应该都是一个意思吧。我觉得上面描述的场景应该是:
账号登录时如果前面还有未退出的token(意外掉线或直接关闭浏览器等情况,或当前登录机器还保持在线,但在其它机器进行第2次登录),在登录后将前面的token踢下线。
如果用同一账号的同时在线数量控制,可从登录token的队列中依次踢出最先登录的token。

@zhontai
Copy link
Owner

zhontai commented Sep 10, 2024

8.5计划中

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants