feat: kick user when same terminal login

This commit is contained in:
Gordon
2023-06-14 09:58:10 +08:00
parent f6dcc2ba44
commit ad42eaed11
5 changed files with 81 additions and 23 deletions
+1
View File
@@ -118,6 +118,7 @@ const (
ExpiredToken = 3
//MultiTerminalLogin
DefalutNotKick = 0
//Full-end login, but the same end is mutually exclusive
AllLoginButSameTermKick = 1
//Only one of the endpoints can log in