We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Note 这个需求不太正常,可以先忽略着……
校园网已经登录了别人的账号,现在希望登出,然后切换成自己的。目前bitsrun做不到,但从 10.0.0.55 能做到。
bitsrun
bitsrun logout会初始化User,触发下面的错误。
bitsrun logout
User
bitsrun/bitsrun/user.py
Lines 56 to 61 in 49ec0f9
我(“我”)和其他同学(“其他设备”)共用同一个桥接的校园网(“桥接路由器”),轮流登录账号。
flowchart BIT-Web --- 一般设备 BIT-Web --- 桥接路由器 --- 我 桥接路由器 --- 其他设备 subgraph login[登录校园网] 桥接路由器 一般设备 end
(我能尝试自己解决,但要先讨论下)
把 error 改成 warning。
用什么警告呢?warnings 行吗?还是 click-log?
登出时按照self.logged_in_user,而不用self.username。
self.logged_in_user
self.username
Line 124 in 49ec0f9
(尚未实际验证)
The text was updated successfully, but these errors were encountered:
feat: Allow inconsistent users
babe574
Resolves BITNP#36
Successfully merging a pull request may close this issue.
问题
校园网已经登录了别人的账号,现在希望登出,然后切换成自己的。目前
bitsrun
做不到,但从 10.0.0.55 能做到。bitsrun logout
会初始化User
,触发下面的错误。bitsrun/bitsrun/user.py
Lines 56 to 61 in 49ec0f9
场景
我(“我”)和其他同学(“其他设备”)共用同一个桥接的校园网(“桥接路由器”),轮流登录账号。
可能的修复
(我能尝试自己解决,但要先讨论下)
把 error 改成 warning。
用什么警告呢?warnings 行吗?还是 click-log?
登出时按照
self.logged_in_user
,而不用self.username
。bitsrun/bitsrun/user.py
Line 124 in 49ec0f9
(尚未实际验证)
The text was updated successfully, but these errors were encountered: