mirror of
https://github.com/luscis/openlan.git
synced 2025-10-18 23:04:34 +08:00
fea: socket: support to negotiate key
This commit is contained in:
@@ -135,7 +135,7 @@ func (h *Http) LoadToken() {
|
||||
}
|
||||
}
|
||||
if token == "" {
|
||||
token = libol.GenRandom(32)
|
||||
token = libol.GenString(32)
|
||||
}
|
||||
h.SetToken(token)
|
||||
}
|
||||
|
Reference in New Issue
Block a user