mirror of
https://github.com/renorris/openfsd
synced 2026-04-14 05:25:34 +08:00
update
Bug fixes: - Fix re-hashing an already hashed password in UpdateUserRecord - Fix validator incorrectly flagging swift client name - Switched a > to a < when checking field length for #TM packets Misc: - Simplify client reader goroutine - Simplify client writer logic Features: - Add an option to enable plaintext passwords (replacing the JWT token in the AddPilotPDU `token` field.)
This commit is contained in:
@@ -104,7 +104,7 @@ func GetProcessor(rawPacket string) (Processor, error) {
|
||||
return PlaneInfoResponseProcessor, nil
|
||||
}
|
||||
case "#TM":
|
||||
if len(fields) > 3 {
|
||||
if len(fields) < 3 {
|
||||
return nil, InvalidPacketError
|
||||
}
|
||||
switch fields[1] {
|
||||
|
||||
Reference in New Issue
Block a user